Search wiring.org.co:

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 |

### if()

Description | Allows the program to make a decision about which code to execute. If the expression evaluates to true, the statements enclosed within the block are executed and if the expression evaluates to false the statements are not executed.
Syntax |
    if (expression) {
      statements
    }
Parameters |

expression | any valid expression that evaluates to true or false
statements | one or more statements to be executed

Usage | Application
Related | else

Updated on July 07, 2011 11:08:21pm PDT