addn

Category

Mathematical Commands

Syntax

addn(vA,B);
vA += B;
vA = vA + B;

Description

B is added to vA. Since a var can only be from 0-255, if the result is greater than 255, then the value "wraps around", e.g. 250 + 10 would give 4.

See also

addv