« Substitution using parentheses | Main | Numeric variable »

December 15, 2005

Counter of character variable

Each character variable has its own counter.
This counter counts how many times this variable is displayed in the generated text.
At first this counter has value of zero, and was incremented each time when it was displayed as variable.
In order to refer this counter use $ character in front of variable name like this

$my friend

And this value can refer in the decision statement that will be explained later.
When Null was substituted to character variable, counter of this variable is reset to zero.

|

« Substitution using parentheses | Main | Numeric variable »