.BG M
.VE $Header: /usr3/s/current/s/data/.help/RCS/apply,v 1.2 83/12/30 23:07:55 rab Exp $
.FN apply
.TL
?apply: Apply a Macro to a Number of Arguments
.CS
?apply(macro, arg1, arg2, ...)
.PP
.AG macro
the name of a macro.
.AG argi
arbitrary list of arguments that are to be given in turn to
`macro'.
.EX
.ft 1
If the macro `analyze' performs an analysis of a dataset, then
.ft 3
     ?apply(analyze,ds1,ds2,ds3,ds4,ds5)
.ft 1
is equivalent to typing
.ft 3
     ?analyze(ds1)
     ?analyze(ds2)
     ...
.KW macros
.KW apply*
.WR
