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 = open("C:\myData.dat");
runnerLog(read(fid, 10));
close(fid);

...