Copying a substack

Kingsley Jegan kingsleyj at hotmail.com
Thu Jan 31 04:23:01 EST 2002


Wehn you clone a stack (or in fact, any object), the stack's name is set to 
"Copy of "& the original stack's name and the id of the new stack is put 
into "it". So to clone substack Y of mainstack X, use this code:

clone stack "y"
set the mainstack of it to "x"
set the name of it to "z"

Not the most straightforward, but it works ;>

Kingsley Jegan
-----
Usability/Chennai
iNautix Technologies India Pvt. Ltd.

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com




More information about the use-livecode mailing list