Clib End of File Method

The Clib End of File method determines if the file cursor is at the end of the file that the filePointer argument identifies. It returns one of the following values:

  • If the file cursor is at the end of the file, then it returns the following value:

    A nonzero integer

  • If the file cursor is not at the end of the file, then it returns the following value:

    0

Format

Clib.feof(filePointer)

The arguments for this method are the same as the arguments for the Clib Clear Error method. For more information, see Clib Clear Error Method.