Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagejs
use "file";
int fid = fileOpen("C:\alphabet.txt");
runnerLog(fileReadLine(fid));
close(fid);

...