Search wiring.org.co:

Reference for Wiring version 0024+. 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 | ### || (logical OR)
Description | Compares two expressions and returns true if one or both evaluate to true. Returns false only if both expressions are false. The following list shows all possible combinations: `true || false // Evaluates true because the first is true false || true // Evaluates true because the second is true true || true // Evaluates true because both are true false || false // Evaluates false because both are false`
Syntax |
    expression1 || expression2
Parameters |
expression1 | any valid expression
expression2 | any valid expression
Usage | Application
Related | && (logical AND) ! (logical NOT) if()

Updated on November 01, 2009 12:42:24pm PST