Returns the number of elements found in a TreeMap control.
// Number of elements in TMAP_File
ResNumberElements = TreeMapCount(TMAP_File)
Syntax
<Result> = TreeMapCount(<TreeMap control>)
<Result>: Integer
Number of elements found in the TreeMap (0 if the control is empty).
Remark: All elements are taken into account (even the elements whose weight is 0).
<TreeMap control>: Control name
Name of TreeMap control to use.
If this parameter corresponds to an empty string (""), the control used will be the TreeMap control to which the current event belongs.
Remarks
The
TreeMapCount function and the
Count property are equivalent:
<Nb elements> = TreeMapCount(<TreeMap control>)
<Nb elements> = <TreeMap control>.Count