I think I'm misusing global variables.
I doing a set of timers, each on a different card. Being lazy,I copied the first card and adjusted things, using the same global variables. I used global as there are several buttons on each card that add to the same set of variables/fields (on the same card)
Now I discover that I'm changing the variable contents in the other cards as well.
My thoughts:
1. go through a hundred or so buttons and change the variable names (a terrible thought) where ever they appear in the scripts
2. ?? move the declarations from outside the handlers to inside the handlers?? This would be quicker as I wouldn't have to edit all the scripts, just cut and paste.
What I think I want (but not sure) is a set of variables that work 'globally' on one card, for all the handlers on that card, but no other card.
Oh, and I don't want to empty the variables till the program closes as the user will want to print the cards (marked through a button on each card) at the end of the session, just before quitting.
Peace,
John
Flowing Thought Educational Solutions 503-508-3398
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
