11-02-2022, 12:26 AM
I would use this:
Code: (Select All)
'timer
s = 0
Do
_Limit 5
Cls
s = s + 1
If s > 59 Then
m = m + 1
s = 0
End If
If m < 10 Then m$ = "0" + Right$(Str$(m), 1) Else m$ = Right$(Str$(m), 2)
If s < 10 Then s$ = "0" + Right$(Str$(s), 1) Else s$ = Right$(Str$(s), 2)
Locate 1, 1
Print m$; ":"; s$
_Display
Loop
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, W.A.)