CMP_GETNx

Read array component

Description:

Read an array primitive component of a structure.

Invocation

CALL CMP_GETNx( LOC, NAME, NDIM, DIMX, VALUE, DIM, STATUS )

Arguments

LOC = CHARACTER  ( DAT__SZLOC ) (Given)
Structure locator.
NAME = CHARACTER  ( DAT__SZNAM ) (Given)
Component name.
NDIM = INTEGER (Given)
Number of dimensions.
DIMX = INTEGER( NDIM ) (Given)
Dimensions of value.
VALUE = ?( <dimx( 1 ) >, <dimx( 2 ) >, ... ) (Returned)
Component value.
DIM = INTEGER( NDIM ) (Returned)
Component dimensions.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:

There is a routine for each standard data type; to call them, replace x by C (Character), D (Double), I (Integer), L (Logical), R (Real).