Clone stack doesn't clone the substack(s) within it!

Richard Gaskin ambassador at fourthworld.com
Thu Dec 4 03:09:22 CST 2003


Dom wrote:

>> I would suggest that you write your own clone routine that clones the
>> main-stack and then loops through each of the sub-stacks, cloning them
>> and setting their mainStack property to the newly cloned main-stack.
> 
> That's done -- with some caution, since it's so easy to "detach" a
> substack from its mainstack... I have done that several times ;-)))

If you need to copy all the stacks in a stack file, why not just duplicate
the stack file?

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com
 Tel: 323-225-3717                       AIM: FourthWorldInc



More information about the use-livecode mailing list