Script local variables and initialization.
Alex Tweedly
alex at tweedly.net
Thu Dec 23 17:10:00 EST 2004
Dar Scott wrote:
>
> 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?
>
No, I did mean preOpenStack, but this example works for me too.
Darn ! - it seemed like a decent theory :-(
OK - back to debugging ......
Many thanks !
-- Alex.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.2 - Release Date: 20/12/2004
More information about the use-livecode
mailing list