next up previous
Next: PAR_DEF1x - Sets a vector of values as the dynamic default for a parameter
Up: Reference Manual
Previous: PAR_CHOIV - Obtains from a parameter a list of character values selected from a menu of options

    
PAR_DEF0x - Sets a scalar dynamic default parameter value

Description:
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.

If the declared parameter type differs from the type of the value supplied, then conversion is performed.

Invocation:
CALL PAR_DEF0x( PARAM, VALUE, STATUS )

Arguments:
PARAM = CHARACTER * ( * ) (Given)
The name of the parameter.
VALUE = ? (Given)
The dynamic default value for 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 VALUE argument must have the corresponding data type.



next up previous
Next: PAR_DEF1x - Sets a vector of values as the dynamic default for a parameter
Up: Reference Manual
Previous: PAR_CHOIV - Obtains from a parameter a list of character values selected from a menu of options

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