|<< back to sysax.com Product page|
The filereadline command can be used to read lines from a file that has been opened with the fileopen command in read mode. A line of text is read from the file and placed in the user specified variable. The
fileresult predefined status flag is set to the predefined constant
success if the command completed successfully.
Exhibit 10.6. Examples for using the command for reading lines
fileopen read, "eg_12.txt"; filereadline ~one_line; #read a line from the file filereadline ~one_line; #read the next line in the file