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 (19 lines) | stat: -rw-r--r-- 406 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
10 REM PC-BASIC test 
20 REM WIDTH syntax
30 open "output.txt" for output as 1
40 on error goto 10000
100 width "scr"+"n:", 80
110 print#1, 110
120 width 40 yada
130 print#1, "yada"
140 width "yada", 40
150 print #1, "yada"
160 width 40
170 width 40,
180 width 40, 25
190 width 40, 25,
200 width 40, 25, 1
210 width 40, 25, 1,
9999 end
10000 print#1, "error", err, erl
10010 resume next