Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Technical Reference - <b>found()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 found()
 Determine outcome of the last search operation
------------------------------------------------------------------------------
 Prototype

     ERRCODE found(
                       AREAP wa,
                       BOOLP isFound
                    )

 Arguments

     wa is a pointer to self.

     isFound determines the status of the last search operation.

 Description

     found() obtains the status of the last search operation for wa.  In the default
     database driver, search operations are defined as seek() calls.  This
     method provides the return value of the CA-Clipper FOUND() function.

 Default Behavior

     Copies wa->fFound to isFound.

 Implementation Notes

     .  Determine the setting of wa->fFound (if it is not
        automatically set by your seek() implementation) and then call
        SUPER_FOUND().

     .  If your RDD supports relations, update relations with a
        forceRel() prior to determining wa->fFound status.

     Warning!  isFound must point to one byte of allocated memory.

 Files  Header file is Rdd.api.


See Also: AREA forceRel() seek()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson