10 REM PC-BASIC test 
20 REM OPTION BASE syntax
40 ON ERROR GOTO 1000
41 OPTION
42 OPTION STRICT
43 OPTION LOUD
44 OPTION CRAZY
50 OPTION BASE 0
60 OPTION BASE 1
70 CLEAR: ON ERROR GOTO 1000
80 OPTION BASE 1
90 OPTION BASE 1
100 OPTION BASE 0
110 CLEAR: ON ERROR GOTO 1000
120 OPTION BASE 0 LAH
130 OPTION BASE 1
140 CLEAR: ON ERROR GOTO 1000
150 OPTION BASE 2
160 OPTION BASE -1
170 OPTION BASE 0
180 OPTION BASE "YEAH"
999 END
1000 OPEN "OUTPUT.TXT" FOR APPEND AS 1
1005 PRINT#1, ERR, ERL
1007 CLOSE 1
1010 RESUME NEXT
