mainstack to substack

Richard Gaskin ambassador at
Mon Jan 31 01:02:49 EST 2005

Dan Shafer wrote:

 >>> I still can't figure this one. I need to make a mainstack
 >>> a substack
 >>> of another file. How do I do this?
 >>> I can still design my app but if I dont manage to do this I'm
 >>> stuffed. :-)
 >> clone stack <stackName>
 >> set the maintstack of stack "Copy of <stackName>" to <mainstackName>
 > It is, I believe, impossible to change a mainstack to a substack of a
 > second mainstack if the first mainstack has any substacks.

True. That's why you need to clone it first, and then set the mainstack 
of the copy.

  Richard Gaskin
  Fourth World Media Corporation
  Ambassador at

More information about the Use-livecode mailing list