ADVANCE
Moves the cursor of a random-access file forward by a number of data items (fields?), even through different records
Implemented by: hptsb
With variations:
Also written as:
Usage
The ADVANCE statement as implemented by HP Time-Shared BASIC requires:
- a file handler/number, followed by a semicolon
- an integer "skip count" or expression which tells the number of items to advance
- an integer variable which will receive information about the execution:
- 0 if the movement could be performed without problems
- the number of items which could not be jumped due to an End-Of-File mark
''230 ADVANCE #3; 10, R''