next up previous 223
Next: CMP_PUTVx - Write vectorised component
Up: ROUTINE DESCRIPTIONS
Previous: CMP_PUT1x - Write vector component


CMP_PUTNx - Write array component

Description:
Write an array primitive component.
Invocation:
CALL CMP_PUTNx( 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 )$>$, ... ) (Given)
Component value.
DIM = INTEGER( NDIM ) (Given)
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 223
Next: CMP_PUTVx - Write vectorised component
Up: ROUTINE DESCRIPTIONS
Previous: CMP_PUT1x - Write vector component

HDS [1ex
Starlink User Note 92
R.F. Warren-Smith & M.D. Lawden
23rd February 1999
E-mail:ussc@star.rl.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils