_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. _See also [[/fopen]], [[/fwrite]], [[/fseek]], [[/flist]], [[$fread]], [[$fgetc]], [[$feof]], [[$ferr]], [[$fopen]]._ *Parameters* table(ktable). |*Parameter*|*Description*| | <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
}