BOF()

Test for the beggining-of-file condition

Syntax

BOF() --> <lBegin>

Returns

BOF() Logical true (.T.) or false (.F.)

Description

This function determines if the beggining of the file marker has been reached. If so, the function will return a logical true (.T.); otherwise, a logical false(.F.) will be returned. By default, BOF() will apply to the currently selected database unless the function is preceded by an alias
Examples
      FUNCTION Main()
        USE Tests NEW
        DBGOTOP()
        ? "Is Eof()",EOF()
        DBGOBOTTOM()
        ? "Is Eof()",EOF()
        USE
     RETURN NIL
Status

Ready

Compliance

BOF() is fully CA-Clipper compliant.

Files

Library is rdd

See Also