8.13  Boolean Expressions

8.13 Boolean Expressions

op Expr
Expr1 op Expr2
``` **Operator**| **Description**  
---|---  
not| Unary logical NOT  
and| Logical AND  
or| Logical OR  
xor| Logical XOR  

Table 8.3: Logical Operators.

**Examples:**

1> not true. false 2> true and false. false 3> true xor false. true 4> true or garbage. ** exception error: bad argument in operator or/2 called as true or garbage ```