User`s guide
158
CipherLab BASIC Compiler
User's Guide
Syntax
MOVE_TO_NEXT(file% [,index%])
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.
Example
MOVE_TO_NEXT(1,1)
See Also
MOVE_TO, MOVE_TO_PREVIOUS
MOVE_TO_PREVIOUS
Purpose
To move the file pointer, of a specified DBF and IDX files, one record backward.
Syntax
MOVE_TO_PREVIOUS(file% [,index%])
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.
Example
MOVE_TO_PREVIOUS(1,1)
See Also
MOVE_TO, MOVE_TO_NEXT
RECORD_COUNT
Purpose
To get the total number of the records in a specified DBF file.
Syntax
A% = RECORD_COUNT(file%)
Remarks
"A%" is an integer variable to be assigned to the result.
"file%" is an integer variable in the range of 1 to 5, indicating which DBF file to be
accessed.
Example
TotalRecord_1% = RECORD_COUNT(1)
UPDATE_RECORD
Purpose
To update the record, which the file pointer of a specified DBF and IDX files is
pointing to.