COLLECTION.SIZE Function

Syntax

Count as N = Size()

Description

Get number of elements in a collection.

Discussion

The <COLLECTION>.SIZE() method returns the Count of entries in a collection.

Example

dim colors as U
dim string as C
string = <<%a%
1;Red
2;Green
3;Blue
4;Yellow
%a%
colors.initialize("1;2","1","2",string)
? colors.size()
= 4

See Also