PS TEXT FORMAT Reference Manual
Introduction to TFORM
3–100 11387 Tandem Computers Incorporated
MACRO
macro-name
APPEND
This command defines the beginning of a group of lines, up to the
corresponding ENDMACRO command, that you want to add to an
existing macro with the specified name. If no such macro exists,
APPEND has the same effect as BEGIN.
ENDMACRO
macro-name
This command defines the end of the macro named in the MACRO
BEGIN command. You must enter this command on its own line.
EXITMACRO or RETURN
Within the body of a macro, the EXITMACRO or RETURN command
immediately terminates macro execution. These two command names
are synonymous and function in the same way. The command you use
must be on a line of its own.
MACRO macro-name DELETE
This command deletes the macro-name. If no such macro exists, the
command has no effect. You must enter this command on its own line.
It requires no corresponding ENDMACRO command.
Tips
You can’t abbreviate MACRO, EXITMACRO, RETURN, or
ENDMACRO commands, or combine them with other commands; each
must be on a line of its own.
The EXITMACRO and RETURN commands serve the same purpose
within the MACRO construct. The RETURN command, with no
expression, is allowed within a MACRO construct for the sake of
consistency with the FUNCTION construct. In that construct, RETURN
is also used to terminate execution of a function. If you are using
RETURN to tell TFORM to terminate execution of a function, you can
also use it to signal termination of a macro.