File: TEST.BAS

package info (click to toggle)
pcbasic 2.0.5-1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 33,352 kB
  • sloc: python: 27,753; sh: 64; makefile: 13
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