Fclose » History » Revision 4
Revision 3 (Per Amundsen, 05/24/2018 10:17 AM) → Revision 4/6 (Per Amundsen, 12/26/2018 08:09 PM)
_Added in 1.8.10_
*/fclose <handle>*
Closes the file associated with this handle.
If you specify a [[Scripting_Wildcards|wildcard]], all matching handles are closed.
*Parameters*
<handle> - The handle to close.
*Example*
<pre>
alias example {
; Open ;Open a file.
/fopen -o x example.txt
; write ;write to the file. file
/fwrite x Print this line.
; Close ;Close the file handle. handle
/fclose x
}
</pre>