AST_SET

Set attribute values for an Object

Description:

This routine assigns a set of attribute values to an Object, over-riding any previous values. The attributes and their new values are specified via a character string, which should contain a comma-separated list of the form:

" attribute_1 = value_1, attribute_2 = value_2, ... "

where " attribute_n" specifies an attribute name, and the value to the right of each " =" sign should be a suitable textual representation of the value to be assigned. This value will be interpreted according to the attribute s data type.

Invocation

CALL AST_SET( THIS, SETTINGS, STATUS )

Arguments

THIS = INTEGER (Given)
Pointer to the Object.
SETTINGS = CHARACTER ( ) (Given)
A character string containing a comma-separated list of attribute settings in the form described above.
STATUS = INTEGER (Given and Returned)
The global status.

Applicability

Object
This routine applies to all Objects.

Examples:

CALL AST_SET( MAP, Report = 1, Zoom = 25.0 , STATUS )
Sets the Report attribute for Object MAP to the value 1 and the Zoom attribute to 25.0.
CALL AST_SET( FRAME, Label( 1 ) =Offset from cluster axis , STATUS )
Sets the Label(1) attribute for Object FRAME to a suitable string.

Notes: