home *** CD-ROM | disk | FTP | other *** search
-
-
- '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
-