AST_END

End an AST context

Description:

This routine ends an AST context which was begun with a matching invocation of AST_BEGIN. Any Object pointers created within this context will be annulled (just as if AST_ANNUL had been invoked) and will cease to be valid afterwards, unless they have previously been exported using AST_EXPORT or rendered exempt using AST_EXEMPT. If annulling a pointer causes an Object s RefCount attribute to fall to zero (which happens when the last pointer to it is annulled), then the Object will be deleted.

Invocation

CALL AST_END( STATUS )

Arguments

STATUS = INTEGER (Given and Returned)
The global status.

Applicability

Object
This routine applies to all Objects.

Notes: