Harbour Reference Guide

 

FOUND()

Determine the success of a previous search operation.

Syntax

FOUND() --> lSuccess

Arguments

None.

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
Status

Ready

Compliance

This function is CA-Clipper compatible

Files

Library is rdd

See Also

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/07/30