Topic complex |
Table functions |
Function |
nextmark() |
Short |
Next marked record |
Syntax |
NEXTMARK(db : INTEGER; prev_mark : INTEGER) : INTEGER |
Parameter |
db : table handle from OpenDB
prev_mark : physical record number of a record from the marking list |
Return |
0 : No (more) record in the marking list
else: physical record number of the on prev_mark following records in the marking list |
See also: |
|
Description |
FIRSTMARK and NEXTMARK are used to pass through the marking list of a table:
...here records are marked
x:=FIRSTMARK(db); // position to the beginning
WHILE x DO
readrec(db,x);
... here with record is worked
x:=NEXTREC(db,x)
END
|