10 REM PC-BASIC test 
20 REM TIMER syntax
30 OPEN "OUTPUT.TXT" FOR OUTPUT AS 1
40 ON ERROR GOTO 1000
42 ON TIMER("") GOSUB 500
44 ON TIMER GOSUB 500
50 ON TIMER(10) GOSUB 500
60 TIMER ON
70 TIMER STOP
80 TIMER OFF
90 TIMER PRINT
100 TIMER YADA
110 TIMER(1) ON
120 END
500 RETURN
1000 PRINT#1, ERR, ERL
1010 RESUME NEXT
