User`s guide

Chapter
5
BASIC
Commands
157
ELSE
See Also
UPDATE_RECORD
GET_RECORD_NUMBER
Purpose
To get the ordinal number of the record pointed to by the file pointer of a specified
DBF file and IDX file.
Syntax
A% = GET_RECORD_NUMBER(file% [,index%])
Remarks
"A%" is an integer variable to be assigned to the number.
"file%" is an integer variable in the range of 1 to 5, indicating which DBF file to be
accessed.
"index%" is an integer variable in the range of 1 to 3, indicating which IDX file to
be accessed. If it is not specified, the default IDX file which keeps the original data
sequence will be used.
Example
A% = GET_RECORD_NUMBER(1,1)
MOVE_TO
Purpose
To move the file pointer, of a specified DBF and IDX files, to a specified position.
Syntax
MOVE_TO(file% [,index%], record_number%)
Remarks
"file%" is an integer variable in the range of 1 to 5, indicating which DBF file to be
accessed.
"index%" is an integer variable in the range of 1 to 3, indicating which IDX file to
be accessed. If it is not specified, the default IDX file which keeps the original data
sequence will be used.
"record_number%" is a positive integer variable, indicating the ordinal number of
the record where the file pointer is moved to.
Example
MOVE_TO(1,1,20)
See Also
MOVE_TO_NEXT, MOVE_TO_PREVIOUS
MOVE_TO_NEXT
Purpose
To move the file pointer, of a specified DBF and IDX files, one record forward.