CValueSet:GetType
The GetType method returns the type of values in the CValueSet.
sType = CValueSet:GetType() Returns a string for the type of the CValueSet as "number", "integer", "string", or "boolean". |
The following example creates a CValueSet S and adds members to it, then returns the count of members:
|
-- constructor, default to values of type "integer" |
|
-- add a key and value |
|
-- add a key and value |
|
-- add a key and value |
|
-- result: Type = "integer" |
|
-- change the CValueSet values to "string" |
|
-- result: Type = "string" |
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.