next up previous
Next: PAR_GEVEN - Obtains an even integer value from a parameter
Up: Reference Manual
Previous: PAR_GETNx - Obtains an array parameter value

    
PAR_GETVx - Obtains a vector of values from a parameter regardless of the its shape

Description:
This routine obtains an array of values from a parameter as if the parameter were vectorized (i.e. regardless of its dimensionality). If necessary, the values are converted to the required type.

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

Arguments:
PARAM = CHARACTER * ( * ) (Given)
The parameter name.
MAXVAL = INTEGER (Given)
The maximum number of values that can be held in the values array.
VALUES( MAXVAL ) = ? (Returned)
Array to receive the values associated with the object.
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_GEVEN - Obtains an even integer value from a parameter
Up: Reference Manual
Previous: PAR_GETNx - Obtains an array parameter value

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