Next: PAR_PUTNx - Puts an array of values into a parameter
Up: Reference Manual
Previous: PAR_PUT0x - Puts a scalar value into a parameter
- Description:
This routine puts a 1-dimensional array of values into a
parameter. If necessary, the specified array is converted to
the type of the parameter.
- Invocation:
CALL PAR_PUT1x( 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.
-
VALUES( NVAL ) = ? (Given)
-
The array of 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.
-
A scalar (0-dimensional) parameter is different from a vector
(1-dimensional) parameter containing a single value.
-
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: PAR_PUTNx - Puts an array of values into a parameter
Up: Reference Manual
Previous: PAR_PUT0x - Puts a scalar value 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