next up previous
Next: CMP_GETVx - Read vectorised component
Up: ROUTINE DESCRIPTIONS
Previous: CMP_GET1x - Read vector component

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).



next up previous
Next: CMP_GETVx - Read vectorised component
Up: ROUTINE DESCRIPTIONS
Previous: CMP_GET1x - Read vector component

HDS Hierarchical Data System
Starlink User Note 92
R.F. Warren-Smith & M.D. Lawden
23rd February 1999
E-mail:rfws@star.rl.ac.uk

Copyright (C) 1999 Central Laboratory of the Research Councils