Try OpenEdge Now
Object-oriented Programming
Programming with Class-based Objects
:
Verifying the type and validity of an object reference
Verifying the type and validity of an object reference
Given an object reference, before you use it, you can:
Test it to ensure that it references an object instance using the
VALID-OBJECT
built-in function
Validate the type of the object represented by the object reference using the
TYPE-OF
built-in function
In this section:
VALID-OBJECT function
TYPE-OF function