Script local variables and initialization.

Dar Scott dsc at swcp.com
Thu Dec 23 16:51:51 EST 2004


On Dec 23, 2004, at 1:42 PM, Alex Tweedly wrote:

> (i.e. I call one of the handlers within the card script from 
> preOpenStack, that sets an initial value, but that value appears to be 
> lost.  I know it's probably a bad idea to call a card handler from 
> preOpenStack, and I'll be changing that anyway - but it would be 
> reassuring to know that this unconfirmed theory is correct.)

Works for me.

on preOpenStack
   put "pos" into x
   call "setL x" of card 2 of me
end preOpenStack

I would think you can call a card handler from preOpenStack.  Did you 
mean startup?

Dar
**********************************************
     DSC (Dar Scott Consulting & Dar's Lab)
     http://www.swcp.com/dsc/
     Programming Services and Software
**********************************************



More information about the use-livecode mailing list