[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
EOF()
EOF() determines if an attempt has been made to move the record pointer
past the end of the current database file.
Syntax
EOF()
Returns
EOF() returns True (.T.) when you attempt to move the record pointer
beyond the last logical record of the active database file. When EOF()
becomes true (.T.), the record pointer is positioned to LASTREC() + 1.
This is the case whether or not an active FILTER is SET or DELETED is
ON. Any further attempt to move the record pointer past LASTREC() + 1
returns the same result without error.
In addition, if the current database file contains no records, EOF()
returns true (.T.).
Usage
EOF() is used as a boundary condition test in any application where you
are moving the record pointer downward through a database file.
See Also:
SEEK
LOCATE
SKIP
BOF
RECNO()
LASTREC()
FOUND
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson