GetValue( ) method

Returns the underlying numeric value of the enumeration member.

Return type: INT64

Access: PUBLIC FINAL

Applies to: Progress.Lang.Enum class

Syntax

GetValue ( )
For example, the code shown below compares a variable to the underlying values of the MAX and MIN members:
ENUM Range:
     DEFINE ENUM MIN = 255
                 MAX = 2147483647.
END NUM.
DEFINE VARIABLE ix AS INT64 NO-UNDO.

IF ix < Range:MIN:GetValue() OR ix > Range:MAX:GetValue() THEN ...

Notes

See also

ENUM statement