How can I get a copy of a substack?

Reinhold Venzl-Schubert r.venzl-schubert at macbay.de
Fri Jan 23 09:28:26 EST 2009


Hi Sarah, Phil and Mark,

thanks a lot for your help.
It's so easy :-)

Reinhold

Am 23.01.2009 um 14:41 schrieb use-revolution-request at lists.runrev.com:

> clone stack "MyStack"
>
> This will give you a new stack called "Copy of MyStack". You will need
> to rename it and then set it's mainStack if you want it to be part of
> the same stack file.

> Try the "clone" command. That should work.
>
>    clone stack "sub1" -- creates a duplicate stack named "Copy of  
> sub1"


> Rheinhold, it's also worth knowing that when you use the 'clone'
> command, you can refer to the newly cloned object as "it", so
>
> clone stack "sub1"
> set the name of it to "sub2"




More information about the use-livecode mailing list