AST_DELETE

Delete an Object

Description:

This routine deletes an Object, freeing all resources associated with it and rendering any remaining pointers to the Object invalid.

Note that deletion is unconditional, regardless of whether other pointers to the Object are still in use (possibly within other Objects). A safer approach is to defer deletion, until all references to an Object have expired, by using AST_BEGIN/AST_END (together with AST_CLONE and AST_ANNUL if necessary).

Invocation

CALL AST_DELETE( THIS, STATUS )

Arguments

THIS = INTEGER (Given and Returned)
Pointer to the Object to be deleted. A null pointer value (AST__NULL) is always returned.
STATUS = INTEGER (Given and Returned)
The global status.

Applicability

Object
This routine applies to all Objects.

Notes: