[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

13.2.6.5 Boolean Operations

A boolean operation is a combination of comparison expressions. Boolean operations can only be used in conditional expressions.

This table lists all comparison operators in order from highest precedence to lowest.

not x
! x
True if x is false.

x and y
True if both x and y are true. The subexpression y is evaluated only if x is true.

x or y
True if at least one of x or y is true. The subexpression y is evaluated only if x is false.



This document was generated by Sergey Poznyakoff on November, 20 2004 using texi2html