Advertisements
FOUND()
Determine the success of a previous search operation.
Syntax
FOUND() --> lSuccess
Arguments
(This function has no arguments)
Returns
<lSuccess> A logical true (.T.) is successful; otherwise, false (.F.)
Description
This function is used to test if the previous SEEK, LOCATE, CONTINUE, or FIND operation was successful. Each wrk area has its own FOUND() flag, so that a FOUND() condition may be tested in unselected work areas by using an alias.
Examples
nId := 100 USE tests NEW INDEX tests SEEK nId IF FOUND() ? tests->Name ENDIF USE
Compliance
Clipper
Files
Library is rdd
Seealso
EOF()
Advertisements