10 REM PC-BASIC test: expression errors 
20 OPEN "output.txt" FOR OUTPUT AS 1
25 ON ERROR GOTO 1000
30 PRINT#1, 1+
40 PRINT#1, (1+)
50 PRINT#1, 1+)
60 PRINT#1, (1+
70 CLOSE
80 END
1000 PRINT#1, ERR, ERL
1010 RESUME NEXT


