Custom Global Functions/Handlers
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Custom Global Functions/Handlers
I have a function that I don't want to write for every single card. How do I make that functions/handler global and then call it on each card.
Re: Custom Global Functions/Handlers
You can put the script in the stack's script rather than having it as a card script. (I think. I am a newbie too.)
Linda
Linda
Re: Custom Global Functions/Handlers
ok, will try that. Thanks.
Re: Custom Global Functions/Handlers
Linda is correct! 

Re: Custom Global Functions/Handlers
Try this, Make a new stack with several cards. In the stack script:
Press cmd-2 several times (on a Mac) and watch the message box.
Craig
Code: Select all
on openCard
put the number of this card
end openCard
Craig