# EOF()

Test for end-of-file condition.

Syntax

  EOF() --> <lEnd>

Returns

  <lEnd> A logical true (.T.) or false (.F.)

Description

  This function determines if the end-of-file marker has been reached. If it has, the function will return a logical true (.T.); otherwise a logical false (.F.) will be returnd

Examples

          FUNCTION Main()
            USE Tests NEW
            DBGOTOP()
            ? "Is Eof()",EOF()
            DBGOBOTTOM()
            ? "Is Eof()",EOF()
            USE
         RETURN NIL

Status

  Ready

Compliance

  EOF() is fully CA-Clipper compliant.

Files

  Library is rdd

See Also

- BOF()
- FOUND()
- LASTREC()