home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
VRAC
/
LIBERTY.ZIP
/
PROFILE.BAS
< prev
next >
Wrap
BASIC Source File
|
1993-08-31
|
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