10 REM PC-BASIC test
20 REM TIMER function
30 OPEN "OUTPUT.TXT" FOR OUTPUT AS 1
40 ON ERROR GOTO 10000
45 TIME$="00:00:00"
50 PRINT#1, TIMER<1
60 PRINT TIMER(
70 PRINT TIMER("ABC"
80 PRINT TIMER(1
90 PRINT TIMER(1.5
100 PRINT TIMER(-1)
110 PRINT TIMER(1)
120 PRINT TIMER(-1.5)
130 PRINT TIMER(1.5)
140 PRINT TIMER(-1.5D2)
150 PRINT TIMER(1.5D2)
160 PRINT TIMER("ABC")
200 PRINT TIMER(0)
210 PRINT TIMER(256)
220 PRINT TIMER(32768)
230 PRINT TIMER(65536)
240 PRINT TIMER(1.701412E+38)
250 PRINT TIMER(1.701411834604692D+38)
9999 END
10000 PRINT#1, ERR, ERL
10010 RESUME NEXT
