Bill Vlahos wrote:
> I know how to clone a stack that exists on disk:
> clone stack ("path to file on disk")
>
> I want to embed the stack in a custom property of the main stack and clone it
> from there. Lets say the stack name is "template.rev" and I add it to the
> uTemplate of this stack.
>
> What would be the clone command syntax for this?
Every cloned stack exists only in memory. To assign it to a file use
the filename property, then issue it a save command:
clone stack "MyTMPL"
set the filename of it to "/SomeFolder/MyStack.rev"
save it
--
Richard Gaskin
Fourth World
LiveCode training and consulting: http://www.fourthworld.com
Webzine for LiveCode developers: http://www.LiveCodeJournal.com
LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode