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 PRINT#1,
80 PRINT#1, ()
90 A=
100 PRINT#1, A
110 A=1+
120 PRINT#1, A
130 PRINT#1, -
140 PRINT#1, +
150 PRINT#1, *
160 PRINT#1, **
170 PRINT#1, /
180 PRINT#1, /\
190 PRINT#1, 1/
200 PRINT#1, /2
900 CLOSE
910 END
1000 PRINT#1, ERR, ERL
1010 RESUME NEXT


