up previous next
2.1.1 Introduction to BOOL
The two BOOL constants are true and false . (can also be written TRUE , FALSE and True , 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 and , or , IsIn . From version CoCoA-5.0.9 not is a function (instead of an operator).