qt-agistudio/help/subn.html

19 lines
447 B
HTML
Raw Normal View History

2019-05-01 17:46:38 -04:00
<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>