- ←Prev
- AST
A Library for Handling
World Coordinate Systems
in Astronomy - Next→
- TOC ↑
Description:
This routine clears the values of a
specified set of attributes for an
Object. Clearing an attribute cancels any value that has previously
been explicitly set for it, so that the standard default attribute value will subsequently be used instead.
This also causes the
AST_TEST function to return the value .FALSE. for the attribute, indicating
that no value has been set.
Invocation
CALL AST_CLEAR( THIS, ATTRIB, STATUS )
Arguments
THIS = INTEGER (Given)
Pointer to the Object.
ATTRIB = CHARACTER
∗ (
∗ )
(Given)
A character string containing a comma-separated list of the names of the attributes to be
cleared.
STATUS = INTEGER (Given and Returned)
The global status.
Applicability
Object
This
routine applies to all Objects.
Notes:
-
Attribute names are not case sensitive and may be surrounded by white space.
-
It does no harm to clear an attribute whose value has not been set.
-
An error will result if an attempt is made to clear the value of a read-only attribute.
Copyright (C) 2021 East Asian Observatory
- ←Prev
- AST
A Library for Handling
World Coordinate
Systems
in Astronomy - Next→
- TOC ↑