home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 3
/
CDASC03.ISO
/
news
/
1601
/
profile.bas
< prev
next >
Wrap
BASIC Source File
|
1993-04-01
|
347b
|
21 lines
'read profile.txt and display each item on its own line
OPEN"PROFILE.txt" FOR INPUT AS #1
[read]
INPUT #1, name$, address$, city$, state$, zip$, phone$
PRINT name$
PRINT address$
PRINT city$
PRINT state$
PRINT phone$
PRINT
if eof(#1) = 0 then [read]
PRINT"Done."
CLOSE #1