<SPAN CLASS="TOKEN" >or</SPAN > expressions

Sather - Language Specification
Prev | Chapter 7. Basic Expressions | Next

# 7.10. or expressions

Example 7-12. Example:

    x=2 or x=3

    or_expression ==>
            expression or expression

or expressions compute the disjunction of two boolean expressions and return boolean values. The first expression is evaluated and if true, true is immediately returned as the result. Otherwise, the second expression is evaluated and its value returned.

Prev | Home | Next
and expressions | Up | Syntactic sugar expressions