Boolean Operators

Although mikroPascal PRO for PIC does not support boolean type, you have Boolean operators at your disposal for building complex conditional expressions. These operators conform to standard Boolean logic and return either TRUE (all ones) or FALSE (zero):

Operator Operation
and logical AND
or logical OR
xor logical exclusive OR (XOR)
not logical negation

Boolean operators associate from left to right. Negation operator not associates from right to left.

Copyright (c) 2002-2012 mikroElektronika. All rights reserved.
What do you think about this topic ? Send us feedback!
Want more examples and libraries? 
Find them on LibStock - A place for the code