20 lines
452 B
HTML
20 lines
452 B
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>addv</TITLE></HEAD>
|
|
<BODY>
|
|
<h1>addv</h1>
|
|
<B>Category</B><p>
|
|
<a href="math_commands.html">Mathematical commands</a><p>
|
|
<p>
|
|
<B>Syntax</B><p>
|
|
<p>
|
|
addv(vA,vB);<p>
|
|
vA += vB;<p>
|
|
vA = vA + vB;<p>
|
|
<B>Description</B><p>
|
|
<p>
|
|
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.<p>
|
|
<B>See also</B><p>
|
|
<a href="addn.html">addn</a><p>
|
|
</BODY></HTML>
|