Simple macros

Here is an example which illustrates macro usage.

Define the macro "person" with the command  <"macro person = 'id@i4 m_t:name'" Then you can use the name "person" in selection commands, such as this example.[*]

select


0=select symbol person +
        m_date@'dd-mmm-yy' from measures =
=24pc

 symbol    id    name          M-date
 --------  ----  ------------  ---------
 Cu           5  John Jones    21-JAN-88
 Cu           5  John Jones    21-JAN-88
 Al          35  Joe Jackson   10-FEB-88
 Al          35  Joe Jackson   10-FEB-88
 Cu          22  Jim Smith     22-FEB-88
 Fe           5  John Jones    04-MAR-88
\fbox{\parbox{355pt}{\vspace{1ex}
{\tt\begin{tabular}{l}\the\toks0\end{tabular}...
...ex}
\makebox[355pt]{\hfill\fbox{\fbox{\box\Rimdemobox}}\hskip1ex}\vspace{1ex}}}

Rim has interpreted "person" to mean "id@i4 m_to_t:name".