Iteration between two stacks

Klaus Major klaus at major-k.de
Mon Jan 23 06:41:59 EST 2006


Buenos diaz Gerardo,

> Having two satcks, one for generate some variables and other to  
> save them.
>
> After the first run, the variables must be saved in the "second"  
> stack and
> the "first" stack must be go to its first card.
>
> How can I program an iteration between these two stacks, in a  
> manner that
> when the "first" satck goes to its first card, the other one save and
> close?

maybe you can add an "opencard" handler to card 1 of stack "first"?

on opencard
    save stack "second"
   close stack "second"
end opencard

Just a quick guess...

> Gerardo

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de




More information about the use-livecode mailing list