qt-agistudio/help/addn.html

21 lines
452 B
HTML
Raw Permalink Normal View History

2019-05-01 17:46:38 -04:00
<HTML>
<HEAD>
<TITLE>addn</TITLE></HEAD>
<BODY>
<h1>addn</h1>
<B>Category</B><p>
<a href="math_commands.html">Mathematical commands</a><p>
<p>
<B>Syntax</B><p>
<p>
addn(vA,B);<p>
vA += B;<p>
vA = vA + B;<p>
<B>Description</B><p>
<p>
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.<p>
<p>
<B>See also</B><p>
<a href="addv.html">addv</a><p>
</BODY></HTML>