Skip to main content

CountElementsOfList

Type​

operator

Summary​

Returns the number of elements in Target

Syntax​

the number of elements in <Target>

Description​

Returns the number of elements in the list.

Parameters​

NameTypeDescription

Target

An expression which evaluates to a list.

Examples​

variable tVar as List
put [1,2,3,4,5] into tVar
variable tNum as Number
put the number of elements in tVar into tNum -- tNum is 5

Value​

NameTypeDescription

return

The number of elements in the list Target.

Thank you for your feedback!

Was this page helpful?