CValueSet:Count
The Count method returns the number of members (key, value pairs) in the CValueSet object.
nCount = CValueSet:Count() Returns the number of members as an integer value. |
|
The following example creates a CValueSet S and adds members to it, then returns the count of members:
|
-- constructor, default to values of type "number" |
|
-- add a key and value |
|
-- add a key and value |
|
-- add a key and value |
|
-- result: Count = 3 |
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.