How to store a stack in a custom property

Mark Schonewille m.schonewille at economy-x-talk.com
Sun Apr 26 08:30:49 EDT 2009


Hi Jérôme,

You have to save the stack first. Once you have done that, you can set  
a custom property to the contents of the stack file:

set the cMyStoredStack of stack "Main Stack" to url "binfile:/path/to/ 
your/stack.rev"

It is possible to open a stack in a custom property with

go stack the cMyStoredStack of stack "Main Stack"

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

Simple, inexpensive, reliable web hosting. €11/year.
http://economy-x-talk.com/server.html

On 26 apr 2009, at 13:25, Jérôme Rosat wrote:

> Hello Everyone,
>
> It's possible to create a new stack from a stack stored in a custom  
> property like this:
>
> go stack the uMyStoredStack of stack "mainStack" in a new window
>
> Is it possible to store a stack in a custom property without  
> creating first a file ?
>
> The following way doesn't work: set the uMyStoredStack of stack  
> "mainStack" to stack "Test"
>
> Thank you for your help.
>
> Jérôme Rosat
>




More information about the use-livecode mailing list