Project

General

Profile

Actions

Fclose » History » Revision 2

« Previous | Revision 2/6 (diff) | Next »
Per Amundsen, 06/27/2014 02:19 PM


Added in 1.8.10

/fclose <handle>

Closes the file associated with this handle.

If you specify a wildcard, all matching handles are closed.

Parameters

<handle> - The handle to close.

Example

alias example {
  ;Open a file.
  /fopen -o x example.txt

  ;write to the file
  /fwrite x Print this line.

  ;Close the file handle
  /fclose x
}

Updated by Per Amundsen almost 10 years ago · 2 revisions

Also available in: PDF HTML TXT