qt-agistudio/help/subn.html

19 lines
447 B
HTML

<HTML>
<HEAD>
<TITLE>subn</TITLE></HEAD>
<BODY>
<h1>subn</h1>
<B>Category</B><p>
<a href="math_commands.html">Mathematical commands</a><p>
<B>Syntax</B><p>
<p>
subn(vA,B);<p>
vA -= B;<p>
vA = vA - B;<p>
<B>Description</B><p>
<p>
B is subtracted from vA. Since a var can only be from 0-255, if the result is less than 0, then the value wraps around, e.g. 10 - 12 would give 254.<p>
<B>See also</B><p>
<a href="subv.html">subv</a><p>
</BODY></HTML>