next up previous
Next: PAR_GETNx - Obtains an array parameter value
Up: Reference Manual
Previous: PAR_GET0x - Obtains a scalar value from a parameter

PAR_GET1x - Obtains a vector of values from a parameter    

Description:
This routine obtains a vector of values from a parameter. If it is necessary, the values are converted to the required type.

Invocation:
CALL PAR_GET1x( PARAM, MAXVAL, VALUES, ACTVAL, STATUS )

Arguments:
PARAM = CHARACTER * ( * ) (Given)
The parameter name.
MAXVAL = INTEGER (Given)
The maximum number of values that can be obtained.
VALUES( MAXVAL ) = ? (Returned)
The array to receive the values associated with the parameter.
ACTVAL = INTEGER (Returned)
The actual number of values obtained.
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 VALUES argument must have the corresponding data type.
  • Note that this routine will accept a scalar value, returning a single-element vector.



next up previous
Next: PAR_GETNx - Obtains an array parameter value
Up: Reference Manual
Previous: PAR_GET0x - Obtains a scalar value 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