File: TEST.BAS

package info (click to toggle)
pcbasic 2.0.7-9
  • links: PTS
  • area: main
  • in suites: sid
  • size: 35,416 kB
  • sloc: python: 28,411; sh: 103; makefile: 10
file content (18 lines) | stat: -rw-r--r-- 312 bytes parent folder | download | duplicates (5)
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 LCOPY syntax
30 OPEN "OUTPUT.TXT" FOR OUTPUT AS 1
40 ON ERROR GOTO 1000
50 LCOPY
60 LCOPY PRINT
70 LCOPY LAH
80 LCOPY -1
90 LCOPY 0
100 LCOPY 255
110 LCOPY 256
120 LCOPY 32768
130 LCOPY "!"
140 LCOPY 1,1
150 LCOPY 1,
160 END
1000 PRINT#1, ERR, ERL
1010 RESUME NEXT