Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- RaSQL/B 6.1a for Clipper - <b>n_xskip()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_XSKIP()
Move up or down sequentially in current table

Syntax
N_XSKIP([<nRecords>])

RDD
Use SKIP or DBSKIP()

Argument
<nRecords> is the number to skip, specified as a positive integer to skip 
forward, and a negative to skip backward. If you omit the argument, RaSQL 
assumes the default, + 1.

Remarks
Movement in the table will be according to the currently active index, as 
specified by N_XORDER().

If skipping forward, RaSQL will continue until the skip count is decremented 
to zero, or until it reaches the end of file. If it reaches the end of file, 
it will set N_XEOF() to True and will clear the record buffer.

If skipping backward, RaSQL will continue until the skip count is 
decremented to zero, or until it reaches the beginning of file.  If it 
reaches the beginning of file, it will set N_XBOF() to True and will make 
the first logical record the current record.

N_XSKIP(0) leaves the record pointer at the current location and refreshes 
the record buffer from the disk.

Examples
N_XGOTOTOP()

* skip forward 20
N_XSKIP(20)

* skip backward 10
N_XSKIP(-10)


See Also: N_XDELSKIP() N_XORDER()

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