BOOLEAN
variabeles
•
MODULA BOOLEAN type:
is an ordinal type
–
ORD(FALSE) = 0 ; ORD(TRUE) = 1
•
Modula Boolean operators:
–
NOT, AND, OR
–
=
#
>
<
>=
>=
IN
•
Java boolean type:
can not be cast into integer type
•
Java Boolean operators
–
NOT
:
!
–
AND :
&&
–
OR
:
||
–