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 (17 lines) | stat: -rw-r--r-- 357 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
5 ' test DRAW with string variables inlined
10 screen 1
20 v%=5
30 v!=5
40 v#=5
50 v$="D5"
60 on error goto 1000
70 open "errors.txt" for output as 1
100 ' string variable inline
105 DRAW "Xv%;" ' type mismatch
110 DRAW "Xv!;" ' type mismatch
120 DRAW "Xv#;" ' type mismatch
130 DRAW "Xv$;"
999 end
1000 print#1, err, erl
1010 resume next