ListCount Function

Action

Returns the number of items in a list.

Syntax

iCount = ListCount (lList)
Variable Description
iCount The number of elements in the list. INTEGER.
lList The list to count. LIST.

Notes

ListCount returns the number of items in lList, or zero, if the list is empty.

Example

[-] LIST OF INTEGER liNumber = {...}
	[ ] -1
	[ ] 0
	[ ] 1
[ ] Print (ListCount (liNumber)) // prints: 3