Fclose » History » Revision 5
Revision 4 (Per Amundsen, 12/26/2018 08:09 PM) → Revision 5/6 (Per Amundsen, 02/16/2023 12:33 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* table(ktable). |*Parameter*|*Description*| | <handle> | - The handle to close. | *Example* <pre> 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 } </pre>