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.2 . Technical Reference - <b>close()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 close()
 Close the table in the workarea
------------------------------------------------------------------------------
 Prototype

     ERRCODE close(
                    WORKAREAP wa
                  )

 Arguments

     wa is a pointer to self.

 Description

     Closes the data table in the workarea defined by wa.

 Default Behavior

     close() clears the workarea referenced by wa, and performs the following
     additional functions:

     1. Calls clearFilter() and clearLocate() passing wa to each.

     2. If wa has any parent workareas, any relations pointing to the
        workarea are killed.

     3. Fields are unlinked from the symbol table, and the wa->alias symbol
        is reset.

 Implementation Notes

     .  The default implementation of close() should deallocate system
        information hooked into the WORKAREA structure.  Your implementation
        of close() should clear relations, if necessary, (with clearRel()),
        flush buffers, close physical files, then call SUPERCLOSE().

 Files:  Header file is Rdd.api.


See Also: WORKAREA clearRel() open() release()

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