next up previous
Next: CMP_LEN - Enquire component precision
Up: ROUTINE DESCRIPTIONS
Previous: CMP_GETNx - Read array component

CMP_GETVx - Read vectorised component   

Description:
Read a primitive component of a structure as if vectorised.
Invocation:
CALL CMP_GETVx( LOC, NAME, ELX, VALUE, EL, STATUS )

Arguments:
LOC = CHARACTER * ( DAT__SZLOC ) (Given)
Structure locator.
NAME = CHARACTER * ( DAT__SZNAM ) (Given)
Component name.
ELX = INTEGER (Given)
Maximum size of value.
VALUE = ?( ELX ) (Returned)
Component value.
EL = INTEGER (Returned)
Number of elements.
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_LEN - Enquire component precision
Up: ROUTINE DESCRIPTIONS
Previous: CMP_GETNx - Read array 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