<< Click to Display Table of Contents >> Navigation: Reference > Pre-processor > [+index] |
This shorthand PP command increments the index by 1 and then substitutes the value.
For example:
[+Table]
is equivalent to:
[*set Table = Table + 1][Table]
This useful for tables:
[*set Table = 0]
t [+Table] = $rowA * $col,
t [+Table] = $rowB * $col,
t [+Table] = $rowC * $col,
[*set TableRowC = Table]
t [+Table] = $rowD * $col,
The index TableRowC can be used later on in the CL script, for example in a Manip stage, to refer to the third table.