Adding operators perform addition (+) or subtraction (-).
expression + expression
expression - expression
The adding operator performs normal arithmetic conversion for integer-type and float-type operands, according to the data type.
MAIN
{
...
sloop_cnt = sloop_cnt+1;
sloop_cnt = sloop_cnt-1;
...
...
}
The conversion processing provided by adding operators does not handle overflow and underflow. If the result of conversion by an adding operator cannot be represented with the data type of the operand, information may be lost.