Versions Compared

Key

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

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=fileClose+-+15489114
widthauto

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

fileClose(fid)

Package

file

Alias

Pkg Usage

close(fid)

...

Return value has no meaning.

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

...