AST_HASATTRIBUTE

Test if an Object has a named attribute

Description:

This function returns a logical result to indicate whether the supplied Object has an attribute with the supplied name.

Invocation

RESULT = AST_HASATTRIBUTE( THIS, ATTRIB, STATUS )

Arguments

THIS = INTEGER (Given)
Pointer to the first Object.
ATTRIB = INTEGER (Given)
The name of the attribute to be tested.
STATUS = INTEGER (Given and Returned)
The global status.

Applicability

Object
This routine applies to all Objects.

Returned Value

AST_SAME = LOGICAL
.TRUE. if the Object has the named attribute, otherwise .FALSE.

Notes: