addv

Category

Mathematical commands

Syntax

addv(vA,vB);

vA += vB;

vA = vA + vB;

Description

vB 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

addn