 To obtain the object reference for the Progress.Lang.Class instance associated with a given ABL class or interface, you can use either the GetClass( ) method or the GET-CLASS function:
To obtain the object reference for the Progress.Lang.Class instance associated with a given ABL class or interface, you can use either the GetClass( ) method or the GET-CLASS function:
   You can use the GetClass( ) method either as an instance method on an ABL class (any Progress.Lang.Object instance except a .NET type) or as a static method of Progress.Lang.Class using the following syntax:
You can use the GetClass( ) method either as an instance method on an ABL class (any Progress.Lang.Object instance except a .NET type) or as a static method of Progress.Lang.Class using the following syntax:
  | 
       class-reference = object-reference:GetClass ( ).
        class-reference = Progress.Lang.Class:GetClass ( expression ). | 
| 
       DEFINE VARIABLE myCustObj AS Progress.Lang.Object NO-UNDO.
        DEFINE VARIABLE myType AS Progress.Lang.Class NO-UNDO. ASSIGN myType = Progress.Lang.Class:GetClass("acme.myObjs.CustObj") myCustObj = myType:New( ). | 
 Unlike the GetClass() method, GET-CLASS takes a type name as its argument instead of a CHARACTER expression that holds a type name. As a result, USING statements can be applied to the argument, and the compiler checks the type name at compile time. Use GET-CLASS with the following syntax:
Unlike the GetClass() method, GET-CLASS takes a type name as its argument instead of a CHARACTER expression that holds a type name. As a result, USING statements can be applied to the argument, and the compiler checks the type name at compile time. Use GET-CLASS with the following syntax:
  | 
       GET-CLASS( object-type-name )
       | 
 You cannot explicitly delete a Progress.Lang.Class instance.
You cannot explicitly delete a Progress.Lang.Class instance.
   You can obtain additional information about a class's members using the Get methods listed above (e.g., GetConstructor( ), GetMethods( )) as well as the properties and methods of the Progress.Reflect.Constructor, Progress.Reflect.Event, Progress.Reflect.Method, Progress.Reflect.Property, and Progress.Reflect.Variable classes. See the entry of each class for more information.
You can obtain additional information about a class's members using the Get methods listed above (e.g., GetConstructor( ), GetMethods( )) as well as the properties and methods of the Progress.Reflect.Constructor, Progress.Reflect.Event, Progress.Reflect.Method, Progress.Reflect.Property, and Progress.Reflect.Variable classes. See the entry of each class for more information.