LONGREAL >= REAL >= LONGINT >= INTEGER >= SHORTINT
operator first operand second operand result type
+ - * numeric numeric smallest numeric type including both operands / numeric numeric smallest real type
type including
both operands
+ - * / SET SET SET
DIV MOD integer integer smallest integer type
type including
both operands
OR & ~ BOOLEAN BOOLEAN BOOLEAN
= # < numeric numeric BOOLEAN
<= > >= CHAR CHAR BOOLEAN
character array, character array, BOOLEAN
string string
= # BOOLEAN BOOLEAN BOOLEAN
SET SET BOOLEAN
NIL, pointer type NIL, pointer type BOOLEAN
T0 or T1 T0 or T1
procedure type T, procedure type T, BOOLEAN
NIL NIL
IN integer SET BOOLEAN
IS type T0 type T1 BOOLEAN