Description:
This routine puts an
-dimensional
array of values into a parameter. If necessary, the specified array is converted to the type of the parameter.
Invocation
CALL PAR_PUTNx ( PARAM, NDIM, MAXD, VALUES, ACTD, STATUS )
Arguments
PARAM =
CHARACTER
( )
(Given)
The parameter name.
NDIM = INTEGER (Given)
The number of dimensions of the values
array. This must match the number of dimensions of the object.
MAXD( NDIM ) = INTEGER (Given)
The array specifying the dimensions of the array to be put. These may not be greater than the
actual dimensions of the parameter (ACTD) nor those of the VALUES array.
VALUES(
) = ?
(Given)
The array of values to be put into the parameter. These must be in Fortran order.
ACTD(
NDIM ) = INTEGER (Given)
The dimensions of the parameter storage to be created. These are
unlikely to be different from MAXD.
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, K, 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.