File: TEST.BAS

package info (click to toggle)
pcbasic 2.0.7-8
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 35,416 kB
  • sloc: python: 28,411; sh: 103; makefile: 10
file content (15 lines) | stat: -rw-r--r-- 323 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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