principles of stack init

thierry douez at wanadoo.fr
Tue Nov 23 03:05:45 EST 2004


Hi Sarah, Ken and MonsieurX,

> 2 solutions: either move the mainStack's init handlers to the card
> script of it's first card (best if it only has one card), or put a test
> for the stack name before running the handler e.g.

does this means that when you start a stack you always always and
always go to the first card ? ( sure, if no scripting involved )

KR> on openStack
KR>   if the owner of the target is me then
KR>     -- do mainstack trapping of openStack
KR>   else
KR>     -- do substrack trapping of openstack, if you like
KR>     pass openStack
KR>   end if
KR> end openStack

seems this one more appropriate to me, as i'm used to
put the more general behavior in the stack script.



thanks a lot, i get the point.

have a nice day ,

thierry



More information about the use-livecode mailing list