FREAD( ) Function

Example   See Also

Returns a specified number of bytes from a file opened with a low-level function.

Syntax

FREAD(nFileHandle, nBytes)

Returns

Character

Arguments

nFileHandle

Specifies the file handle number for the file from which FREAD( ) returns data.

nBytes

Specifies the number of bytes returned by FREAD( ). FREAD( ) returns data starting from the current file pointer position and continues until it returns nBytes bytes or until it encounters the end of the file.