Command SKIP Foundation
Positions the record pointer relative to the current record.
SKIP [<nRecords>] [ALIAS <cAlias> | <nWorkArea>] SKIP [<nRecords>] [IN <cAlias> | <nWorkArea>]
The file command SKIP moves the record pointer in a work area by <nRecords> records. When the command is used without the ALIAS option, SKIP positions the record pointer in the current work area.
If an attempt is made to position the record pointer in front of the first record, it is set to the first record and the function Bof() returns the value .T. (true). When the record pointer is positioned after the last record, it is set to the "Phantom" data record (for DBF files, it corresponds to the record pointer position LastRec()+1) and the function Eof() returns the value .T. (true).
SKIP moves the record pointer on the basis of the logical records in the work area. When an index and/or a filter condition is active, sorting and filtering are considered.
The functional equivalent of the command SKIP is the function DbSkip().
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.