Reference for Wiring version 0027+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Name

+ (addition)

Examples
int a = 50 + 5;  // Sets a to 55
int b = a + 5;   // Sets b to 60
Description Calculates the sum of two values.
Syntax
value1 + value2
Parameters
value1 int or float
value2 int or float
Usage Application
Related ++ (increment)
+= (add assign)
- (subtract)
Updated on September 16, 2010 09:14:42pm PDT

Creative Commons License