I want to delete this post
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
I want to delete this post
I want to delete this post
Last edited by star0629 on Sat Dec 14, 2013 4:25 pm, edited 1 time in total.
Re: saving highscore
Hi star0629,
Check out "global" in the dictionary.
One thing to remember, it must be declared everywhere you use it.
Simon
Check out "global" in the dictionary.
One thing to remember, it must be declared everywhere you use it.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: saving highscore
Hi Star,
you can access EVERY object form EVERYWHERE, as long as you use the correct "address"
Same for your "mouseup":
Or use a global variable as Simon suggested.
Best
Klaus
you can access EVERY object form EVERYWHERE, as long as you use the correct "address"

Code: Select all
...
put fld "scorefield" OF CD "scorecard" OF STACK "scorestack" into tScoreVariable
...
Code: Select all
on updateScore
add 1 to field "scoreField" OF CD "scorecard" OF STACK "scorestack"
end updateScore
Best
Klaus