
Next: Default values Up: 1 ADAM parameters Prev: 1 ADAM parameters
Command line input
Command line input can be used to specify the value of parameters
required by an application. These always override values from any
other source, for example hidden default values in the interface
file.
In addition, there is a special keyword PROMPT which may be
placed on the command line. This causes all parameters used by
the application, including hidden defaults, to be prompted for.
Parameters are entered on the command line by POSITION or by
KEYWORD with the following rules and syntax:
- Logical values:
KEYWORD
sets value to true,
NOKEYWORD
sets value to false
- Other values: KEYWORD=value,
or just value if entered by POSITION.
- Keywords may be placed anywhere on the command line
and are not counted when assessing the position of a
parameter.
- Non-scalar values must be enclosed in [ ] eg [1 2 3 4]
- Character strings need only be put in quotes when
they contain spaces, when case needs to be preserved, or
where there may be ambiguity with an HDS object name.
- An HDS object name may be preceded by @ if there is
ambiguity but this is not normally needed.

Next: Default values Up: 1 ADAM parameters Prev: 1 ADAM parameters