home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
w3_prog
/
lbas09p2.arj
/
GETCHAR.BAS
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
BASIC Source File
|
1992-01-31
|
206 b
|
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