This documentation is archived and is not being maintained.
conLen Function
Retrieves the number of elements in a container.
int conLen(container container)
|
Parameter
|
Description
|
|
container
|
The container in which to count the number of elements.
|
The number of elements in the container.
static void conLenExample(Args _arg)
{
container c;
int i;
;
c = conins(["item1", "item2"], 1);
for (i = 1 ; i <= conLen(c) ; i++)
{
print conPeek(c, i);
}
pause;
}