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>clearrel()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 clearRel()
 Clear all relations in the current workarea
------------------------------------------------------------------------------
 Prototype

     ERRCODE clearRel(
                       WORKAREAP wa
                     )

 Arguments

     wa is a pointer to self.

 Description

     Clears all relations currently in use by a specified workarea.

 Default Behavior

     clearRel() removes all relations from wa->relations.  clearRel() walks
     the relation list and releases the memory used by each relation
     structure (DBRELINFO) in wa->relations.  For each relation killed,
     childEnd() is called to notify the child of its parent's abandonment.

 Implementation Notes

     .  If this method is replaced, be certain to properly deallocate
        Items and memory used by DBRELINFO.

 Files:  Header file is Rdd.api.


See Also: DBRELINFO WORKAREA childEnd() setRel()

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