 As of Version 11.6, the functionality for all of the methods of this class, except for Add( ) and Subtract( ), can be accomplished for .NET enums using ABL operators (e.g., you can use GE or >= operator instead of IsGreaterOrEqual( ), NOT operator (bitwise) instead of Complement( ), etc.). These methods are still supported for backward compatibility.
As of Version 11.6, the functionality for all of the methods of this class, except for Add( ) and Subtract( ), can be accomplished for .NET enums using ABL operators (e.g., you can use GE or >= operator instead of IsGreaterOrEqual( ), NOT operator (bitwise) instead of Complement( ), etc.). These methods are still supported for backward compatibility.
   Some Progress.Util.EnumHelper methods return a System.Enum class instance. If you want to use the returned System.Enum instance as a different enumeration type, you must cast the instance to that specific type using the CAST function. For example:
Some Progress.Util.EnumHelper methods return a System.Enum class instance. If you want to use the returned System.Enum instance as a different enumeration type, you must cast the instance to that specific type using the CAST function. For example:
  | 
       USING System.Windows.Forms.* FROM ASSEMBLY.
        USING Progress.Util.* FROM ASSEMBLY. DEFINE VARIABLE myButton AS Button. DEFINE VARIABLE myStyle AS System.Enum. myButton = NEW Button(). myStyle = EnumHelper:Or( AnchorStyles:Bottom, AnchorStyles:Right ). myButton:Anchor = CAST( myStyle, AnchorStyles ). /* Displays "Bottom, Right" */ DISPLAY STRING( myButton:Anchor ) FORMAT "x(20)". | 
 For information on the System.Enum class and .NET enumeration types, refer to the .NET Framework class library.
For information on the System.Enum class and .NET enumeration types, refer to the .NET Framework class library.