home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 3
/
CDASC03.ISO
/
news
/
1601
/
getchar.bas
< prev
next >
Wrap
BASIC Source File
|
1993-04-01
|
207b
|
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