Deep in another thread you stated in lack of parenthesis assume right to left evaluation
a = -1 + 2 + 3;
Right to left evaluation is equivalent to -(1 + (2 + 3)) = -6
as opposed to (-1) + (2 + 3) = 4
then there is
a = 1 + -2 + 3; ? -4 or 2 ?
IMHO unary operators +and - have to be specified (presumably with higher precedence than arithmetic operators)
Jim Dempsey




