Kbase P109504: What statement returns the current object handle?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/26/2006 |
|
Status: Unverified
GOAL:
What statement returns the current object handle?
GOAL:
What is the statement to make a self reference in a class?
GOAL:
What is the equivalent for the Java THIS statement for a Progress 4GL for class?
FACT(s) (Environment):
OpenEdge 10.1A
FIX:
The THIS-OBJECT function returns the current class handle.
Example:
CLASS myClass:
CONSTRUCTOR PUBLIC myClass ( ):
MESSAGE 'Handle for this class: ' THIS-OBJECT VIEW-AS ALERT-BOX.
END CONSTRUCTOR.
END CLASS.