COUNTERINCR defines the incremental value when changing the value of an inline value defined with COUNTER (see Inline variables). It allows also for defining the format of the value in the input file.                        



Definition


COUNTERINCR <:txt:tag name> <:flt:incremental_value> [<:str:operation> [<:str:format_string>]]

COUNTERINCR <:txt:tag name> = <:expr:incremental_value_exp> [<:str:operation> [<:str:format_string>]]



Explanation


name

txt

Name of the counter (inline variable). When the counter is not defined yet, it is initialized with a start value of 1.

incremental_value

flt

Incremental value of the counter. 

operation

str

(optional) Operation of the counter "+" "-" "/" "*". The defined operation does not have any effect on the behaviour of the counter. It is only used to link output blocks to counter values in selected_graph.

format_str

str

(optional) Defines the format of the value.

incremental_value_exp

exp

Inline expression for calculating the incremental value  - see "Definition of inline variables" and "Examples of inline definition and use"