OPEN
Opens an existing text file for reading by the READ command.
Syntax:
OPEN "filename" OPEN A$
Discussion:
The filename provided must be a valid file within quotes, or a string variable name containing the file name. See the keywords READ and CLOSE. Always CLOSE a file after all the data has been read.
Related Functions:
EOFF
Related Keywords:
READ, READNEXT, CLOSE
Example:
PRINT "Reading the double-column file TEST.DAT!" OPEN "TEST.DAT" READ x1, y1 READ x2, y2 READ x3, y3 CLOSE
Next: