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>gocold()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 goCold()
 Perform a write of work area memory to the data store
------------------------------------------------------------------------------
 Prototype

     ERRCODE goCold(
                       AREAP wa
                     )

 Arguments

     wa is a pointer to self.

 Description

     goCold() forces the RDD to ensure that any data contained in memory
     matches the data store (usually a disk).

 Default Behavior

     You must implement the default behavior of this method through a
     subclass.

 Implementation Notes

     .  The concept of hot and cold refers to the current state of
        information in memory as it relates to information on disk.  If the
        information in memory, has changed since last written to disk, it is
        considered hot.  A cold work area's memory is in sync with its disk-
        based counterpart.

        In any implementation of goCold(), you should determine whether the
        buffer holding the current cursor's data has been written to.  If so,
        it is hot and must be turned cold by flushing or writing it to disk.

     .  wa should remain cold until it is marked hot by goHot().

 Files  Header file is Rdd.api.


See Also: AREA append() flush() goHot()

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