October 1, 1979 COMMAND MACROS CREATION
MACROS -- $<n>
11.2.1.1 Symbolic Parameters (Index Variables) ______________________________________________
The symbolic parameters specified on a command line indicate
that a read will be done from the terminal and the line read in
can be used throughout the macro. One form is:


&<n>[<default>]


<n>.........a number from 1 to 9
<default>...a value for the parameter that is used if the
parameter is omitted or left null. Defaults may
contain any of the symbolic parameters, any of the
special functions, or regular text as well as any
a default cannot combination of these. The only thing ________________
contain another default _______ is _______________.
Notes _____
omitted If a parameter is _______ when no default is present an error
message will be typed and the Command Macro will not be
executed.
null Parameters may be left ____ even when no default is present.
The null string will be substituted in its place.
Each separate occurrence of a symbolic parameter indicator may
have its own particular associated default string.
Example _______
i/&1/&3&2 and &R'second half of inserted text:'
In this macro, the default will be used if &3 is either omitted
must or left null. If the default is used, &2 ____ previously have
been specified, since it can have no default.
250 -- Section 7 Release 9.1 FRESS Resource Manual
Previous Page Next Page