default

Define the default value for a parameter

Description:

Defines the default value for a parameter and must be of an appropriate type (see SUN/115 for details).

Invocation

default value

Arguments

value
The default value for the parameter. It can be an array, in which case the elements should be space-separated.

Examples:

default y

Specifies TRUE as the default for a LOGICAL parameter.

default 1.0 10.0

Specifies vector [1.0,10.0] as the default.

default {a b}

Specifies the string "a b" as the default.

default a b

Specifies the array ["a", "b"] as the default.


ADAM:

As specified – output to the .ifl files.
IRAF:
The value is used as the initial default value in the .par file. For primitive data types, a default of ! is changed to INDEF.