AutoGen - The Automated Program Generator: 3.5.1 ag-fprintf - format to autogen stream

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

### 3.5.1 ``ag-fprintf'` - format to autogen stream

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 section ``out-suspend'` - suspend current output file) or an index into the output stack (see section ``out-push-new'` - purge and create output file). `(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

This document was generated by Bruce Korb on August, 12 2006 using texi2html 1.76.