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 (10 lines) | stat: -rw-r--r-- 241 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
10 REM PC-BASIC test 
20 REM SAVE to an OPEN file
30 open "errors.txt" for output as 3
40 on error goto 1000
50 open "prog.bas" for output as 1
60 print#1, "test"
70 save "prog"
80 close:end
1000 print#3, err, erl
1010 resume next