up previous next
4.1.1 Introduction to Booleans
|
***** NOT YET UPDATED TO CoCoA-5: follow with care *****
The two boolean constants are
True
and
False
. They are mainly used
with the commands
If
and
While
, etc., inside CoCoA programs. The
relational operators
= <> < <= > >=
return boolean constants (see
Relational Operators). The boolean
operators are
Not And Or IsIn
and return boolean constants and are described below.