timer count down

Code tips and tricks for beginners
Post Reply
Posts: 107
Joined: Mon Feb 08, 2021 9:15 pm
Has thanked: 83 times
Been thanked: 46 times

timer count down

Post 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 

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

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