| << 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.
The syntax is
Some examples are
Exhibit 5.6. table title
fileopen read, "eg_12.txt"; filereadline ~one_line; #read a line from the file filereadline ~one_line; #read the next line in the file |