Available in:
Apps (win)
Apps (char)
Reportwriter
RPC
Standalone PL
X
X
X
X
X
int list_next(list-name) list list-name
{
int rows,pos;
pos = list_pos(p.wl); /* remember current position */
if (list_next(p.wl) != pos) { /* did we move? */
.
.
}
In a for loop, the ++ operator is useful since you do not need the
new position returned;
{
list ll;
int i;
ll = list_open("select * from staff",1000);
for (i=list_rows(ll);i;i--,ll++) {
.
.
}
}