Page 1 of 1

Copy a substack.

Posted: Fri Jul 08, 2011 7:00 pm
by Kaubs
Is there a command to make an exact copy of a substack and have it contained in the same project?
When I run------ clone stack "stack name" it just creates a new mainstack. I want to create a copy of the substack under its same mainstack.

Re: Copy a substack.

Posted: Fri Jul 08, 2011 7:08 pm
by Klaus
Hi Kaubs,

you can't do this directly but why not just tell LiveCode what you want? :D
...
clone stack "stack name"
set the mainstack of IT to "name of your mainstack here"
...


Best

Klaus

Re: Copy a substack.

Posted: Sat Jul 09, 2011 12:39 am
by Kaubs
Right on! Thanks