Page 1 of 1

timer count down

Posted: Thu Feb 18, 2021 8:01 pm
by Zim
count an occurrence or create a timer.
hello = hello + 1 is the key. Your variable (hello) has 1 added each time it is run

Code: [Local Link Removed for Guests]


hello = 0                  'declares your variable name
timer0 1000, blah      ' timer to run blah title 
wait

blah:
hello = hello + 1  'adds 1 to your variable each time its accessed
wlog hello           ' wlog displays your variable in the "log" window for your viewing pleasure
return


I am a beginner too, so if you see an error, please feel free to comment or correct me! :)