next up previous contents index
Next: CMPF Up: Comparison Previous: Comparison   Contents   Index

CMP

Stack Input: Integer, Integer

Stack Output: Integer

Operand: None

Since: 1.0

Description:

Compares the two input values. If the first input value is bigger than the second input value, a 1 is placed on the stack. If they are equal, a 0 is placed on the stack. If the first input value is smaller than the second input value, a -1 is placed on the stack.



David Levitan 2006-02-12