/
fileReadLine
fileReadLine
Description
Reads a line of text from an open file until it reaches the end of the line (\n or \r\n).
Parameters
Return Type
String
Error Handling
Throws String
Errors:
"eof": if you read past the end of the file
"read_error": followed by the actual error if read fails
Example
Example 1
use "file";
int fid = fileOpen("C:\alphabet.txt");
runnerLog(fileReadLine(fid));
close(fid);
Returns: ABCDEFGHIJKLMNOPQRSTUVWXYZ
See also
, multiple selections available,
Related content
fileReadLine
fileReadLine
More like this
fileReadLine
fileReadLine
More like this
fileRead
fileRead
More like this
fileRead
fileRead
More like this
fileRead
fileRead
More like this
fileReadByte
fileReadByte
More like this