Arbortext Command Language > Using the Arbortext Command Language > Increment
  
Increment
 
++
$i = ++$n (prefix form) first increases the value of $n by 1, then sets $i to this new value.
Alternately, $i = $n ++ first sets $i to the value of $n, then increases the value of $n by 1. ($i must be either a scalar variable or an array reference, as must $n.)
The following operators are numeric and require numeric operands:
+, -, *, /, &, ^, |, <<, >>, %, ~, ++, and ––
Related Topics
Functions as expressions and commands
Using expressions
Logical expressions
Operands