File: addn.html

package info (click to toggle)
agistudio 1.2.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,600 kB
  • ctags: 1,506
  • sloc: cpp: 16,676; makefile: 53
file content (20 lines) | stat: -rw-r--r-- 452 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<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>