next up previous
Next: PAR_GET1x - Obtains a vector of values from a parameter
Up: Reference Manual
Previous: PAR_GDRVx - Obtains a vector of values within a given range from a parameter

PAR_GET0x - Obtains a scalar value from a parameter    

Description:
This routine obtains a scalar value from a parameter. If it is necessary, the value is converted to the required type.

Invocation:
CALL PAR_GET0x( PARAM, VALUE, STATUS )

Arguments:
PARAM = CHARACTER * ( * ) (Given)
The parameter name.
VALUE = ? (Returned)
The parameter value.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:
  • There is a routine for each of the data types character, double precision, integer, logical, and real: replace "x" in the routine name by C, D, I, L, or R respectively as appropriate. The VALUE argument must have the corresponding data type.
  • Note that a scalar (0-dimensional) parameter is different from a vector (1-dimensional) parameter containing a single value.



next up previous
Next: PAR_GET1x - Obtains a vector of values from a parameter
Up: Reference Manual
Previous: PAR_GDRVx - Obtains a vector of values within a given range from a parameter

PAR Interface to the ADAM Parameter System
Starlink User Note 114
Malcolm J. Currie
Alan J. Chipperfield
1999 September 24
E-mail:ussc@star.rl.ac.uk