10 REM PC-BASIC test 
20 REM BEEP syntax
30 OPEN "OUTPUT.TXT" FOR OUTPUT AS 1
40 ON ERROR GOTO 1000
50 BEEP
60 BEEP ON
70 BEEP OFF
80 BEEP 10
90 BEEP "!"
100 BEEP YADA
110 END
1000 PRINT#1, ERR, ERL
1010 RESUME NEXT
