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