Parameters & Returns
Parameters
Returns
Quick Summary
Opens a file for reading and writing in binary mode.
Takes a filename.
Returns a file handle, or 0 if the filename is null or the file cannot be opened.
Technical Exegesis...
Opens the specified file in read/write binary mode ("r+b") and returns a file handle. Returns 0 if the filename is null or the file cannot be opened.
The file must already exist. Use this when you need to both read from and write to an existing file. The file position starts at the beginning. Always close the file with fileCloseFile when finished.