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 (27 lines) | stat: -rw-r--r-- 540 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
10 REM PC-BASIC test 
20 REM PALETTE syntax
30 DIM A%(20)
40 OPEN "OUTPUT.TXT" FOR OUTPUT AS 1
50 ON ERROR GOTO 10000
60 PALETTE
70 PALETTE 0,0
75 PALETTE 0, 254
80 PALETTE 0, 255
85 PALETTE 0, 256
90 PALETTE 0,32768
100 PALETTE 255,0
110 PALETTE 32768, 0
120 PALETTE A$
130 PALETTE A$,
140 PALETTE A$ PRINT
150 PALETTE 0 PRINT
160 PALETTE 0, PRINT
170 PALETTE USING A%
180 PALETTE 0,0 USING A%
185 PALETTE 0, USING A%
190 PALATTE USING
200 PALETTE USING PRINT
9999 END
10000 PRINT#1, ERR, ERL
10010 RESUME NEXT