home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
w3_prog
/
lbas09p2.arj
/
EXP.BAS
< prev
next >
Wrap
BASIC Source File
|
1992-04-27
|
1KB
|
49 lines
button #1, Done, [done], LR, 5, 5
open "Please enter some text and press button." for text as #1
input r$
end
[done]
print #1, "!lines" ;
input #1, lines
print lines; " lines of text:" : print
for x = 1 to lines
print #1, "!line "; x ;
input #1, line$
print line$
next x
input r$
end
print "say" ' this line prints hello : print tab(5); "hi"
print "hello"
open "TEXT TEST" for text as #1
print #1, "This is a test"
input r$
print #1, "!cls"
print #1, "This isn't a test"
input r$
print #1, "!font TmsRmn 5 13"
input r$
print #1, "!font TmsRmn 6 16"
input r$
print #1, "!font TmsRmn 8 19"
input r$
print #1, "!font TmsRmn 9 21"
input r$
print #1, "!font TmsRmn 12 27"
input r$
print #1, "!font TmsRmn 16 35"
input r$
print #1, "!font Roman 19 32"
input r$
close #1