...
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 |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
fid | String | Yes | The id of the open file to read from. | |
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); |
...
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "file_routinefunction" and space = currentSpace ( ) |
---|
labels | array_routinesfunctions |
---|
|