Zach first you have to have a file already written in ASCII format (OK you really don't have to have it in that format but for this example you do...) and you have to know the name and path to that file.
Then you have to:
filein = ReadFile("mydata.dat") ; opens file THAT MUST EXIST
; Loop this until we reach the end of file
While Not Eof(filein)
Print ReadLine$(filein)
CloseFile( filein ) ; close what you opened
Simple... LOOK IN THE LANGUAGE REFERENCE!!! That is where 99% of that example came from!!!!!!!!!!!!!!!!!!!!!!!
|