11-02-2022, 12:36 AM
Is this what your looking for?
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$ = CHR$((48 * -(m <= 9)) + (35 * -(m > 9))) + "#:" + CHR$((48 * -(s <= 9)) + (35 * -(s > 9))) + "#"
LOCATE 1, 1
PRINT USING tmp$; m; s
_DISPLAY
LOOP