home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
w3_prog
/
lbas09p2.arj
/
GETCHAR.BAS
< prev
next >
Wrap
BASIC Source File
|
1992-01-31
|
206b
|
12 lines
'read testfile.txt and display each item
'on its own line
OPEN"TESTFILE" FOR INPUT AS #IN
10 IF EOF(#IN) < 0 THEN [end]
PRINT INPUT$( #IN, 1 );
GOTO 10
[end]
CLOSE #IN