...
Excerpt | ||
---|---|---|
| ||
Reads a line of text from an open file until it reaches the end of the line (\n or \r\n). Stops also on EOF (end of file). |
Reads a line of text from an open file until it reaches the end of the line (\n or \r\n).
...
Table plus | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
Return Type
String
Error Handling
Throws String
"eof": if you read past the end of the file|"read_error": followed by the actual error if read fails
Example
Example 1
Code Block | ||
---|---|---|
| ||
use "file";
int fid = fileOpen("C:\alphabet.txt");
runnerLog(fileReadLine(fid));
close(fid); |
...