Close a file handle.
bool fclose <voidptr:hFile>
False if:
True otherwise.
voidptr fp // create a file handle set fp <zs:fopen "C:\\test.txt" "w"> // open the file, and assign the value to 'fp' assert fp "Cannot open file!" // exit if file can't be opened string s set string "Hello!" fwrite fp s // write text to file fclose fp // close file
None.