list_vis

Gets the number of visible rows in the list.

Available in:

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

Syntax

int list_vis(list-name)
list         list-name

Description

Returns the number of rows whose status is not set to item_delete and remain ``visible.''

Example

Prints number of visible rows in a given list.
{
 list xx;
 xx = list_open("20 16 10", 1000, "New Data");
 list_mod(xx, 1, "1", "2", "3");
 list_mod(xx, 1, "4", "5", "6");
 list_mod(xx, 1, "7", "8", "9");
 printf(list_vis(xx));
 list_close(xx);
}