The calling sequences for the ADAM parameter system routines are reproduced below. SG/4, Section 8 contains an introduction to the parameter system. A full description will shortly be available, that is, SUN/114, (in preparation).
PAR_CANCL (PARAM, STATUS)
– cancel a parameter. The named parameter is cancelled and
any storage associated with it is released. A subsequent attempt to get a value for the
parameter will result in a new value being obtained by the underlying parameter system.
PAR_DEF0x(PAR, VALUE, STATUS)
– set scalar dynamic default parameter value. This routine
sets a scalar as the dynamic default value for a parameter. The dynamic default may be
used as the parameter value by means of appropriate specifications in the interface file.
PAR_DEF1x (PARAM, NVAL VALUES, STATUS)
– set a 1-D array of values as the dynamic default
for a parameter. This routine sets a 1-D array of values as the dynamic default for a
parameter of primitive type. The dynamic default may be used as the parameter value by
means of appropriate specifications in the interface file.
PAR_DEFNx (PARAM, NDIM, MAXD, VALUES, ACTD, STATUS)
– set an array of values as the
dynamic default for a parameter. This routine sets an array of values as the dynamic
default for a parameter of primitive type. The dynamic default may be used as the
parameter value by means of appropriate specifications in the interface file.
PAR_GET0x (PARAM, VALUE, STATUS)
– obtain a scalar parameter value. This routine obtains
a primitive scalar parameter value.
PAR_GET1x (PARAM, MAXVAL, VALUES, ACTVAL, STATUS)
– read vector parameter values.
This routine obtains a primitive vector parameter value.
PAR_GETNx (PARAM, NDIM, MAXD, VALUES, ACTD, STATUS)
– obtain an array parameter
value. This routine obtains a primitive array parameter value.
PAR_GETVx (PARAM, MAXVAL, VALUES, ACTVAL, STATUS)
– read parameter values as if object
were a vector. This routine reads the values from a primitive parameter storage object as
if it were vectorized (i.e. regardless of its dimensionality).
PAR_PROMT (PARAM, PROMPT, STATUS)
– set a new prompt string for a parameter. Replace the
prompt string for the indicated parameter by the given string.
PAR_PUT0x (PARAM, VALUE, STATUS)
– write a scalar parameter value. This routine puts a
primitive scalar value into the storage object for the named parameter.
PAR_PUT1x (PAR, NVAL, VALUES, STATUS)
– write vector parameter values. This routine puts
a 1-D array of primitive values into the storage object for the named parameter.
PAR_PUTNx (PARAM, NDIM, MAXD, VALUES, ACTD, STATUS)
– write array parameter values.
This routine puts an -dimensional
array of primitive values into the storage object for the named parameter.