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 (18 lines) | stat: -rw-r--r-- 328 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
10 REM PC-BASIC test 
20 REM PCOPY syntax
30 OPEN "OUTPUT.TXT" FOR OUTPUT AS 1
40 ON ERROR GOTO 10000
50 PCOPY 0,1
60 PCOPY 0,0
70 PCOPY 
80 PCOPY 0
90 PCOPY 0,
100 PCOPY 0,0,
110 PCOPY 0, 256
120 PCOPY 0, 32768
130 PCOPY 0,-1
140 PCOPY 0, 10
150 PCOPY 10, 0
9999 END
10000 PRINT#1, ERR, ERL
10010 RESUME NEXT