next up previous 63
Next: Example
Up: The Parameter Specification
Previous: Logical Keywords


The DEFAULT Field

This field is used to specify a static default value for a parameter. The static default value is one of the options available to be used as the parameter value.

The field is of the form:

DEFAULT default_value
where default_value may be: The field is terminated by the next reserved-word token, therefore names which correspond with a reserved word cannot be given unless enclosed in quotes.

Note that DEFAULT cannot be specified before the TYPE field has been declared and the value specified must be appropriate for the specified type. A character constant (quoted string) may be given as default_value for a non-primitive type - the string within the quotes will be used as the `name' when required. This can be useful if non-standard strings are to be given as defaults (e.g. lists for the GRP facility handling parameters declared as TYPE NDF).





next up previous 63
Next: Example
Up: The Parameter Specification
Previous: Logical Keywords

ADAM Interface Module Reference Manual
Starlink User Note 115
A J Chipperfield, B D Kelly, S L Wright
3 September 2002
E-mail:ussc@star.rl.ac.uk

Copyright © 2002 Council for the Central Laboratory of the Research Councils