.BG
.VE $Header: /usr3/s/current/s/.help/RCS/mprint,v 1.2 83/12/30 19:30:55 rab Exp $
.FN mprint
.TL
mprint: Print Macros
.CS
mprint(mac1, mac2, ..., list=, file=, pos=)
.PP
.AG mac1
macro to be printed.  Note that macros all have names
beginning "mac.".
.AG list=
character vector giving the names of macros to be printed.
.AG file=
character string name of file to which the macro printing is
directed.  Default is the user's terminal.
.AG pos=
position on data directory search list where datasets given in
`list' will be found.  Default 0, search for each dataset on
all attached data directories.
.PP
The arguments `mac1', ... and `list=' are mutually exclusive.
.PP
The printed macros have macro substitution characters `$1', etc. in
the body of the macro instead of the named arguments.
.EX
mprint(mac.abc)  # print macro `abc' on terminal
mprint(list=list("mac.*",pos=2),file="abcd",pos=2)
     # print all macros in save directory onto file `abcd'
.KW macros
.KW document
.WR
