Caché Basic Reference
Comparison Operators


Used to compare expressions.
Synopsis
result = expression1 comparisonoperator expression2
result = object1 Is object2
Arguments
Comparison operators have these parts:
Description
The Is operator has specific comparison functionality that differs from the operators in the following table. The following table contains a list of the comparison operators and the conditions that determine whether result is True or False:
When comparing two expressions, you may not be able to easily determine whether the expressions are being compared as numbers or as strings.
The following table shows how expressions are compared or what results from the comparison, depending on the underlying subtype: