FEOF( ) Function

Example   See Also

Determines whether the file pointer is positioned at the end of a file.

Syntax

FEOF(nFileHandle)

Returns

Logical

Arguments

nFileHandle

Specifies the file handle number of the file to check for the end-of-file condition. FEOF( ) always returns true (.T.) if you specify a file handle number of a communication port opened with FOPEN( ).

Remarks

This low-level file function returns true (.T.) if the file pointer is positioned at the end of a file opened with a low-level file function. FEOF( ) returns false (.F.) if the file pointer isn't at the end of the file.