Copy a substack.

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Kaubs
Posts: 124
Joined: Wed Jun 29, 2011 3:55 am

Copy a substack.

Post by Kaubs » Fri Jul 08, 2011 7:00 pm

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.

Klaus
Posts: 14194
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Copy a substack.

Post by Klaus » Fri Jul 08, 2011 7:08 pm

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

Kaubs
Posts: 124
Joined: Wed Jun 29, 2011 3:55 am

Re: Copy a substack.

Post by Kaubs » Sat Jul 09, 2011 12:39 am

Right on! Thanks

Post Reply