Previous Topic: Decrement an AccumulatorNext Topic: Format


COMPARE Statement

The COMPARE command is used to determine the relationship between two operands. You can compare an accumulator with another accumulator, an integer with an accumulator, a variable with a string of characters, and so on. This section illustrates some of the most common uses for the COMPARE statement.