Contents | Prev | Next | Index


Logical Operators

OR logical disjunction p or q == "if p then TRUE, else q end"
& logical conjunction p & q == "if p then q, else FALSE end"
~ negation ~p == "not p"

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


Contents | Prev | Next | Index

Canterbury Oberon-2 for JVM  (Last documentation update Jun 2, 2000)
Copyright © 1998 Mill Hill & Canterbury Corporation, Ltd. All rights reserved
Please send any comments or corrections to mhc@webcom.com