|binfile||The ID of the file to close.|
Closes a previously opened binary file. You supply the file ID value, as returned by the function file_bin_open.
NOTE: These functions do not work when the target module is HTML5.
file = file_bin_open('myfile.bin', 2);
This would open a file from the same directory as the game, and assign its index to the variable "file". It would then re-write the file (clearing it of data), and close it again.