Pathmaker Reference Manual

Macro Definition and Commands
Macro Language
3–12 067869 Tandem Computers Incorporated
PARAM Use the PARAM command to define parameters in a macro. Each PARAM command
consumes one of the arguments provided when the macro is invoked.
% PARAM
parameter-name
parameter-name
is the name of the parameter.
parameter-name
follows the same syntax rules as
a local variable, for example, it must begin with a letter.
Considerations
A macro can include 0, 1, or many parameters.
Parameter definitions can appear at any point in a macro.
When a macro is invoked with the INVOKE command, parameter values must be
declared for all defined parameter names. For the proper syntax, refer to the
documentation for the INVOKE command in this section.
Example
The following example shows the command to define parameter emp-nbr, along with
a comment (following the !) that contains descriptive information.
% PARAM emp-nbr ! employee number