Copying a substack

Shao Sean shaosean at unitz.ca
Thu Jan 31 11:07:01 EST 2002


you should probably store the value of "it" into a temp variable, just
incase the value of "it" changes during the course of your code (i assume
that this will be very rarely, but better to err on the side of caution)

local vTempVar
clone stack "y"
put it into vTempVar
set the mainstack of vTempVar to "x"
set the name of vTempVar to "z"

> Not the most straightforward, but it works ;>
i wish that this had been posted a few months ago when i was trying to
figure it out ;-)




More information about the use-livecode mailing list