Knowledge Base

Compare makes a numeric comparison between X and Y, and leaves a result code in X.

The result codes are:

X vs YCode
X=Y0
X>Y1
X<Y2

The original X and Y values are Popped off the register stack.

Dialect restriction: Compare is implemented only in dialects 4 or later.

See also CompareRfCompareR