PS TEXT FORMAT Reference Manual
Introduction to TFORM
3–98 11387 Tandem Computers Incorporated
MACRO A macro is a group of commands and text that you define as a unit. You
can refer to it repeatedly within the main body of your document, and you
can pass arguments to it so that its action can be dynamically altered. A
macro resembles a subroutine.
What to Enter
\MACRO
macro-name
BEGIN [ LOCAL
var
[‚
var
] ... ]
APPEND
DELETE
. . .
commands and/or text
. . .
[ \EXITMACRO | \RETURN ]
. . .
commands and/or text
. . .
\ENDMACRO [
macro-name
]
macro-name
is a name that represents a MACRO construct. A
macro-name
can be
no longer than 32 characters; it must begin with a letter; and the
remaining characters may be letters, numbers, and/or underscore (_)
characters. The name must be unique from all other macro and
command names.