Parameters & Returns
Parameters
Returns
Quick Summary
Opens or creates a file for writing only in binary mode.
Takes a filename.
Returns a file handle, or 0 if the filename is null or the file cannot be created.
Technical Exegesis...
Opens the specified file in write-only binary mode ("wb") and returns a file handle. Returns 0 if the filename is null or the file cannot be created.
Creates a new file or truncates an existing file to zero length. Use this when you need to create a new file or overwrite an existing file completely. Always close the file with fileCloseFile when finished.