$itemcount

Return the number of items in a list.

$itemcount(List)

Parameters

Parameters
Parameter Data Type Description
List String Name of the variable, parameter, or field containing the list

Return Values

Number of items in a list

Use

Allowed in all component types.

Description

The $itemcount function enables you to determine how many items are in a list before processing each item.

Using $itemcount

$1 = 0
$2 = $itemcount ("$mylist$")
while $1 <= $2
		$1 += 1
endwhile
History
Version Change
9.1.01 Introduced

Related Topics