list_rows

Gets the row count of the list.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X X X X X

Syntax

int list_rows(list-name)
list          list-name

Example

Prints the number of rows in the list.
{
 list xx;
 xx = list_open("20 16 10", 1000, "Data Report");
 list_mod(xx, 1, "1", "2", "3");
 list_mod(xx, 1, "4", "5", "6");

 printf(list_rows(xx));
 list_close(xx);
}