using stacks with on-rev

stephen barncard stephenREVOLUTION2 at barncard.com
Sat Jul 30 19:56:15 EDT 2011


stacks work, only with some limitations.
These have been tested by me:
Custom properties work.
Create and name stacks works.
Reading fields sometimes works. Can't write back to them, and no htmltext.
Think of stacks for storage, not layout or graphics.

I just tried out Mark Smith's excellent id3 mp3 tag library stack, installed
with no changes and it works (on my custom livecode installation at
Dreamhost) just like the desktop. The scripts had failed before, because
they depend on custom properties.

Be sure to use the .lc suffix if you want version 4.6.3 running the script ,
this is how I guess how On-rev determines which version of the server will
be utilized.

On 30 July 2011 14:08, Martin Koob <mkoob at rogers.com> wrote:

> Now that on-rev's engine is upgraded to 4.6.3 I thought I would try the
> 'start using stack' command.
>
> I created a simple stack with a couple of functions in it and I uploaded to
> the directory where my index.irev page is.
>
> I put the following command in my index.irev file
>
> start using stack "libstackmain.rev"
>
> When this page loads it stops at the above line,  it displays no error
> message.
>
> I also tried using a different extension for the stack file
> start using stack "libstackmain.livecode"
> I got the same result.
>
> Are stacks supported on on-rev?
>
> If so do I have <the path to stack> wrong?  What is it relative to?
>
> Any other ideas how to get this working?
>
> Thanks
>
> Martin
>
>
>
>
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/using-stacks-with-on-rev-tp3706864p3706864.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  <http://www.google.com/profiles/sbarncar>



More information about the use-livecode mailing list