Next: SCM ag-function?, Up: AutoGen Functions [Contents][Index]
Usage: (ag-fprintf ag-diversion format [ format-arg ... ])
Format a string using arguments from the alist.
Write to a specified AutoGen diversion.
That may be either a specified suspended output stream
(see SCM out-suspend) or an index into the output stack
(see SCM out-push-new). (ag-fprintf 0 ...)
is
equivalent to (emit (sprintf ...))
, and
(ag-fprintf 1 ...)
sends output to the most recently
suspended output stream.
Arguments:
ag-diversion - AutoGen diversion name or number
format - formatting string
format-arg - Optional - list of arguments to formatting string