Returns the number of items in a list.
iCount = ListCount (lList)
| Variable | Description |
|---|---|
| iCount | The number of elements in the list. INTEGER. |
| lList | The list to count. LIST. |
ListCount returns the number of items in lList, or zero, if the list is empty.
[-] LIST OF INTEGER liNumber = {...}
[ ] -1
[ ] 0
[ ] 1
[ ] Print (ListCount (liNumber)) // prints: 3