11-01-2022, 11:39 PM
For a clock timer, I'm just wondering if there's a way to make the leading 0 appear when the time is 1:05 etc (I'm getting 1: 5)
I'm using the "Print Using" command, and it's fine otherwise, but I'd like that zero to be there.
I'm using the "Print Using" command, and it's fine otherwise, but I'd like that zero to be there.
Code: (Select All)
'timer
s = 0
Do
_Limit 5
Cls
s = s + 1
If s > 59 Then
m = m + 1
s = 0
End If
tmp$ = "##:##"
Locate 1, 1
Print Using tmp$; m; s
_Display
Loop