CValueSet:Get
The Get method returns the value assigned to a string key in the CValueSet. You can also get the value at a specific set index using the GetValueAt method.
| 
 Value = CValueSet:Get( strKey ) 
 
 
  | 
The following example creates a CValueSet S and adds members to it, then returns the value at a key:
| 
 
  | 
 -- constructor for a set of type "integer"  | 
| 
 | 
 -- add a key and value  | 
| 
 | 
 -- add a key and value  | 
| 
 | 
 -- add a key and value  | 
| 
 
  | 
 -- result: Value = -7125  | 
CValueSet class, GetAt, GetKeyAt, GetValueAt
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.