Defining Macros
To create your own macros, use the Terminal Monitor {define} macro. The basic form of this command is:
{define; $t; $r}
where $t and $r are the template and replacement parts of the macro, respectively.
The Terminal Monitor contains a macro processor that substitutes the replacement part of the macro for the template part.
For example, the following macro enables you to shorten range statements:
{define; rg $v $r; range of $v is $r}
This macro causes the word rg, followed by the next two words, to be removed and replaced by the words range of, followed by the first word that followed rg, followed by the word is, followed by the second word that followed rg:
rg p parts
is expanded to:
range of p is parts