Next: Conversion Between Data Types, Previous: Comparison Operations, Up: Expressions [Contents][Index]
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! xTrue if x is false.
x and yTrue if both x and y are true. The subexpression y is evaluated only if x is true.
x or yTrue if at least one of x or y is true. The subexpression y is evaluated only if x is false.