The functions enumToString and enumStrings serve to access the symbolic names of an enumeration type during the runtime of an EbsScript.
enumToString
enumStrings
serve to access the symbolic names of an enumeration type during the runtime of an EbsScript.
Name |
Purpose |
Arguments |
Return value |
Example |
enumToString |
Returns the symbolic name of value as text.
|
enumToString(value:, format:string = „g“):string;
|
String: Text of value |
Example for both functions: var func:=FuncXG_OF_PT; |
enumStrings |
Returns a dynamic array of all symbolic names with their respective value. The type namedindexarray is defined in the unit @System. |
enumStrings: namedindexarray; |
|
See example for enumToString |