SetCount Function


Returns the number of members in a set.


iSetCount = SetCount (Set)
Variable Description
iSetCount The number of members in the set. INTEGER.
Set The set for which to count members. SET.


A SET variable can contain a maximum number of members equal to the values defined for that data type in its set declaration. It can also hold an empty set, in which case iSetCount is zero.


[-] COLORS HotColors = {...}
	[ ] Red 
	[ ] Yellow 
	[ ] Orange
[ ] Print (SetCount (HotColors)) // prints: 3