Initializes, increments and writes integer counters
Tag Summary | |
---|---|
required |
<sum name="value" /> |
full tag |
<sum name="value" increment="value" initialize="value" /> |
Required Attributes |
|
---|---|
name | The name of the counter |
Optional Attributes | |
---|---|
increment | If specified, increments the counter by the specified amount |
initialize | If specified, sets the counter to the specified amount. |
Example | |
---|---|
<sum name="index" increment="1" /> This sum tag increments the numberic value of the counter named "index" by 1 and writes out nothing. The value of the counter can be written out by omitting the increment and initialize attributes. |
© Copyright IBM Corporation 2000,
2006. All Rights Reserved.