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

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

# 7.9. and expressions

Example 7-11. Example:

    0<=x and x<10

    and_expression ==>
            expression and expression

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

Prev | Home | Next
Array creation expressions | Up | or expressions