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 (11 lines) | stat: -rw-r--r-- 234 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
10 REM PC-BASIC test 
20 REM test MID$ with overlap
25 OPEN "OUTPUT.TXT" FOR OUTPUT AS 1
30 A$="12345678" 
40 MID$(A$,4)=A$ 
50 PRINT#1, "#"; A$ ;"#"
60 A$="12345678" 
70 MID$(A$,3,3)=A$ 
80 PRINT#1, "#"; A$ ;"#"
90 CLOSE