10 REM PC-BASIC test
20 REM COMMON syntax
30 OPEN "ERRORS.TXT" FOR OUTPUT AS 1
40 ON ERROR GOTO 1000
135 COMMON A, B[]
140 COMMON A, B(]
150 COMMON A, B(
160 COMMON A, B(1)
170 COMMON A, B[1]
180 COMMON A$, A!, A#, A%
190 CHAIN "STEP2"
200 PRINT#1, "Got Here"
210 END
1000 PRINT#1, ERR, ERL
1010 RESUME NEXT
