Contents | Prev | Next | Index


Logical Operators

OR logical disjunction p OR q == "if p then TRUE, else q end"
AND logical conjunction p AND q == "if p then q, else FALSE end"
NOT negation NOT p == "not p"
XOR exclusive or p XOR q == "if p and not q then TRUE, else not p and q"

These operators can be applied to BOOLEAN operands only and yield a BOOLEAN result.


Contents | Prev | Next | Index

Canterbury Pascal for JVM  (Last documentation update Sep 02, 2004)
Copyright © 1999-2004 J.Neuhoff - mhccorp.com  . All rights reserved.
Please send any comments or corrections to neuhoff@mhccorp.com