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

     ERRCODE clearRel(
                          AREAP wa
                        )

 Arguments

     wa is a pointer to self.

 Description

     clearRel() clears all relations currently in use by a specified
     work area.

 Default Behavior

     clearRel() removes all relations from wa->lpdbRelations.  clearRel()
     traverses the relation list and releases the memory used by each
     relation structure (DBRELINFO) in wa->lpdbRelations.  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: AREA DBRELINFO childEnd() setRel()

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