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>skip()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 skip()
 Reposition cursor relative to current position
------------------------------------------------------------------------------
 Prototype

     ERRCODE skip(
                       AREAP wa,
                       LONG count
                   )

 Arguments

     wa is a pointer to self.

     count is the number of rows to skip.

 Description

     skip() skips count number of rows (count may be negative, indicating
     reverse traversal), obeying filter and scope conditions.  This method is
     intended to provide the functionality of the CA-Clipper SKIP command.

 Default Behavior

     The default implementation of skip() calls skipFilter() and skipRaw() to
     successfully navigate the work area.  skip() also sets wa->fTop,
     wa->fBottom, wa->fBof, and wa->fEof, when appropriate.

     Note:  As implemented, skip() may pass a zero (0) value to skipRaw()
     indicating that a COMMIT (flush()) is to be performed.

 Implementation Notes

     .  If an order is attached to your implementation of work area,
        skip() should support this new ordering as well as any condition or
        filtering behavior.

     .  If your RDD supports relations, update them with a forceRel()
        prior to attempting relative movement.

 Files  Header file is Rdd.api.


See Also: AREA flush() forceRel() go() skipFilter() skipRaw()

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