Framework (
A-Z)
Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.
Name |
() (parentheses) |
Examples |
int a;
a = (4 + 3) * 2;
if (a > 10) {
digitalWrite(8, HIGH);
}
|
Description |
Grouping and containing expressions and parameters. Parentheses have multiple functions relating to functions and structures. They are used to contain a list of parameters passed to functions and control structures and they are used to group expressions to control the order of execution. Some functions have no parameters and in this case, the space between parentheses is blank. |
Syntax |
function()
function(p1, ..., pN)
structure(expression)
|
Parameters |
function |
any function |
p1...pN |
list of parameters specific to the function |
structure |
Control structure such as if(), for(), while() |
expressions |
any valid expression or group of expression |
|
Usage |
Application |
Related |
, (comma)
|
Updated on July 07, 2011 11:08:46pm PDT