A comparison operator compares its operands and returns a logical value based on whether the comparison is true. The operands can be numerical or string values. When used on string values, the comparisons are based on the standard lexicographical ordering.
The comparison operators in the following table are only available at the local metatopic level. For the examples in the table var1 has been assigned the value 3, and var2 has been assigned the value 4. |