Table of Contents
fcloseDescriptionClose a file handle. Function prototypebool fclose <voidptr:hFile> ArgumentsReturn valueFalse if:
True otherwise. Examplevoidptr 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 CommentsNone. See alsoExcept where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
|