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


CMP_GET0x - Read scalar component

Description:
Read a scalar primitive component of a structure.
Invocation:
CALL CMP_GET0x( LOC, NAME, VALUE, STATUS )
Arguments:
LOC = CHARACTER * ( DAT__SZLOC ) (Given)
Structure locator.
NAME = CHARACTER * ( DAT__SZNAM ) (Given)
Component name.
VALUE = ? (Returned)
Component value.
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_GET1x - Read vector component
Up: ROUTINE DESCRIPTIONS
Previous: ROUTINE DESCRIPTIONS

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

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