fileReadFile

Opens a file for reading only in binary mode. Takes a filename. Returns a file handle, or 0 if the filename is null or the file cannot be opened.

File IO

Parameters & Returns

Parameters

filename String

Returns

Int

Quick Summary

Opens a file for reading only 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-only binary mode ("rb") and returns a file handle. Returns 0 if the filename is null or the file cannot be opened.

Use this when you only need to read from a file. The file position starts at the beginning. Always close the file with fileCloseFile when finished.

Example

Example.bam
; No example implemented yet