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

     ERRCODE close(
                       AREAP wa
                    )

 Arguments

     wa is a pointer to self.

 Description

     The close() method closes the data table in the work area defined by wa.

 Default Behavior

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

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

     2. If wa has any parent work areas, any relations pointing to the
        work area are killed.

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

 Implementation Notes

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

     .  If a memo file is involved, close() should call
        closeMemFile().

 Files  Header file is Rdd.api.


See Also: AREA clearRel() closeMemFile() open() release()

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