Versions Compared

Key

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

...

The id of the file that was opened. The id has no meaning beyond the script.

Error Handling

Throws String

...

  • "invalid": if the path is invalid
  • "cannot_work_on_directory": if the path is a directory, in fact, and not a file
  • "unresolvable": if the file cannot be resolved
  • "notfound": if the file is not found

Example

Example 1

Code Block
languagejs
use "file";
int fid = open(filename); //fileOpen
fileClose(fid);//full name of the routine

...