next up previous
Next: PAR_STATE - Inquires the state of a parameter
Up: Reference Manual
Previous: PAR_PUTNx - Puts an array of values into a parameter

    
PAR_PUTVx - Puts an array of values into a parameter as if the parameter were a vector

Description:
This routine puts a 1-dimensional array of primitive values into a parameter as it if the parameter were vectorized (i.e. regardless of its actual dimensionality). If necessary, the specified array is converted to the type of the parameter.

Invocation:
CALL PAR_PUTVx( PARAM, NVAL, VALUES, STATUS )

Arguments:
PARAM = CHARACTER * ( * ) (Given)
The parameter name.
NVAL = INTEGER (Given)
The number of values that are to be put into the parameter. It must match the actual parameter's size.
VALUES( NVAL ) = ? (Given)
The values to be put into the parameter.
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.
  • In order to obtain a storage object for the parameter, the current implementation of the underlying ADAM parameter system will proceed in the same way as it does for input parameters. This can result in users being prompted for `a value'. This behaviour, and how to avoid it, is discussed further in the Interface Module Reference Manual ( SUN/115).
  • Limit checks for IN, RANGE, MIN/MAX are not applied.



next up previous
Next: PAR_STATE - Inquires the state of a parameter
Up: Reference Manual
Previous: PAR_PUTNx - Puts an array of values into 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