COUNTER_1_VALUE

CodeGen

COUNTER_1_VALUE

 

CodeGen provides two built in counters that developers can use when designing template files. For each code generation task both counters start off with a value of zero. Tokens in the template file can cause the value of each counter to be incremented, decremented or reset to zero. Another token can be used to insert the current value of a counter into the text output stream.

This token inserts the current value of counter 1 into the output stream. If the token appears inside of an expression that currently evaluates to false then the value will not be inserted.

Usage

<COUNTER_1_VALUE>

Alternate forms

None

See also

Other generic tokens

 

 


Copyright © 2012  Synergex International, Inc.