MiscGetEnumName()
- Last UpdatedAug 24, 2016
- 1 minute read
This method queries the name of the enumeration based on the enumeration set name and the enumeration value. For example, if the enumeration set name is Mode, the value 1 is defined as Manual, 4 as Semi-Auto, and 20 as Automatic in the Process Model Editor for Enumerations, then MiscGetEnumName("Mode", 4) would return Semi-Auto. This method is used to determine enumeration names for both the EditPhaseParam list and the PhaseParam list. A String return value (16 characters) contains the enumeration name.
Syntax
ReturnValue = OcxBatchVar.MiscGetEnumName (SetName, EnumVal)
Parameters
SetName
Data Type: String
Enumeration set name
EnumVal
Data Type: Long
Enumeration value