Hitechbuzz
New Member
Hi Guys I was wanting to have a timer for 10 minutes. Here is part of the code.
With a loop inside another but you can't use negative numbers so how does one subtract 1 off the variable eg. b1 and replace it with the result?
timer10: '10minute timer
let b1 = 10
loop1:
b1 = b1 -1
Pause 500
if b1 >= 1 then loop1
return
Thanks for your help in advance.
Cheers hitechbuzz
With a loop inside another but you can't use negative numbers so how does one subtract 1 off the variable eg. b1 and replace it with the result?
timer10: '10minute timer
let b1 = 10
loop1:
b1 = b1 -1
Pause 500
if b1 >= 1 then loop1
return
Thanks for your help in advance.
Cheers hitechbuzz