CODEGEN_FILENAME

CodeGen

CODEGEN_FILENAME

 

This file header token allows you to define the name of the output file from within a template file. The name of the output file should appear between the tokens opening and closing tags. The opening and closing tags must be on the same line.

File header tokens must be grouped together at the top of the template file.

Usage

<CODEGEN_FILENAME>SomeFile.txt</CODEGEN_FILENAME>

The file name that you specify may contain generic expansion tokens or structure expansion tokens, which will be expanded as normal. For example:

<CODEGEN_FILENAME>Get<StructureName>.dbl</CODEGEN_FILENAME>

Alternate forms

None

See also

Other file header tokens

Video

Here's the Controlling Output File Names video. Make sure you select a high-definition version of the video, by default YouTube tends to play the lowest resolution which can look pretty awful!

 

 

 


Copyright © 2012  Synergex International, Inc.