10 REM PC-BASIC test 
20 REM WAIT syntax
30 OPEN "OUTPUT.TXT" FOR OUTPUT AS 1
40 ON ERROR GOTO 1000
45 WAIT
50 WAIT 0
60 WAIT 0,
70 WAIT 0, 256
75 WAIT 0, 32768
80 WAIT 0, 255,
90 WAIT 0, 255, 255
100 WAIT 0, 255, 255,
110 WAIT "1"
120 WAIT "1", 255
130 WAIT &H60, 255, "1",
999 END
1000 PRINT#1, ERR, ERL
1010 RESUME NEXT
