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 (13 lines) | stat: -rw-r--r-- 235 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
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