AutoGen - The Automated Program Generator: 7.4.3.5 include: code emitted from included template

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

#### 7.4.3.5 include: code emitted from included template

You must write a template to produce your main procedure. You specify the name of the template with the `tpl` attribute and it will be incorporated at the point where AutoOpts is ready to emit the `main()` procedure.

This can be very useful if, in your working environment, you have many programs with highly similar `main()` procedures. All you need to do is parameterize the variations and specify which variant is needed within the `main` AutoOpts specification. Since you are coding the template for this, the attributes needed for this variation would be dictated by your template.

This document was generated by Bruce Korb on May, 16 2009 using texi2html 1.78.