- ←Prev
- AST
A Library for Handling
World Coordinate Systems
in Astronomy - Next→
- TOC ↑
Description:
This function
returns a logical result to indicate whether a value has been explicitly set for one of an
Object’
s attributes.
Invocation
RESULT = AST_TEST( THIS, ATTRIB, STATUS )
Arguments
THIS = INTEGER (Given)
Pointer to the Object.
ATTRIB = CHARACTER
∗ (
∗ )
(Given)
A character string containing 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_TEST = LOGICAL
.TRUE. if a value has previously been
explicitly set for the attribute (and hasn’
t been cleared), otherwise .FALSE..
Notes:
-
Attribute names are not case sensitive and may be surrounded by white space.
-
A value of .FALSE. will be returned if this function is invoked with STATUS set to an error value, or if
it should fail for any reason.
-
A value of .FALSE. will also be returned if this function is used to test a read-only attribute, although
no error will result.
Copyright (C) 2021 East Asian Observatory
- ←Prev
- AST
A Library for Handling
World Coordinate
Systems
in Astronomy - Next→
- TOC ↑