VALID-OBJECT function

Verifies that an object reference points to a valid ABL or .NET object instance. If the object reference represents an object that is currently valid, the function returns TRUE. If the object reference is no longer valid (for example, it was garbage collected or explicitly deleted), the function returns FALSE.

Syntax

VALID-OBJECT ( object-reference )
object-reference

An object reference defined for an ABL or .NET object type. For more information, see the Class-based object reference reference entry.

See also

DELETE OBJECT statement