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-- 362 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 different files with the same name are considered the same
25 open "errors.txt" for output as 3
28 on error goto 1000
30 open "output.txt" for output as 1
40 mkdir "dir"
50 open "dir\output.txt" for output as 2
60 print#1, "one"
70 print#2, "two"
80 close 2
90 close 1
900 end
1000 print#3, err, erl
1010 resume next