COUNTER_1_DECREMENT

CodeGen

COUNTER_1_DECREMENT

 

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 decrements the value of counter 1 by 1. If the token appears inside of an expression that currently evaluates to false then the value will not be decremented.

This token does not cause any text to be written to the output stream.

Usage

<COUNTER_1_DECREMENT>

Alternate forms

None

See also

Other generic tokens

 

 

 


Copyright © 2012  Synergex International, Inc.