Operator | Meaning | Applicable types |
---|---|---|
= | Equal | integers, reals, booleans, chars, enumerations, strings, sets, pointers |
< | Less than | integers, reals, boolean, char, enumerations, strings, pointers |
> | Greater than | integers, reals, boolean, chars, enumerations, strings, pointers |
<= | Less than or equal | integers, reals, booleans, set inclusion, chars, enumerations, strings, pointers |
>= | Greater than or equal | integers, reals, booleans, set inclusion; chars, enumerations, strings, pointers |
<> | Not equal | integers, reals, booleans, chars, enumerations, strings, sets, pointers |
in | Membership | A set type on the right and the set's base type on the left |
Set Operators | Table of Content | Typecasts |