ListCount
InstallShield 2024 » InstallScript Language Reference
The ListCount function returns the number of elements in a list.
Note:This function works with both strings and number lists.
Syntax
ListCount ( listID );
Parameters
|
Parameter |
Description |
|
listID |
Specifies the name of a string or number list. |
Return Values
|
Return Value |
Description |
|
>= 0 |
The number of items in the list. |
|
ISERR_LIST_NOSUCHLIST (-501) |
Indicates that a list with the specified ID does not exist. Valid list IDs are return values from the ListCreate function. |
|
< 0 |
ListCount was unable to determine the number of elements in the list. |
See Also