<,>, =,<=,>=,<>Comparison Operators Math Functions
The comparison operators are as follows: < less than > greater than = equals <= less than or equal >= greater than or equal <> not equals These are used in conjunction with IF, JP, JS, ( ), &, and | to perform conditional jumps
variable = value1 <,>, =,<=,>=,<> value2Performs an operation between two values or evaluated statements

Full Description

The comparison operators are as follows:
<     less than
>     greater than
=     equals
<=     less than or equal
>=     greater than or equal
<>     not equals
These are used in conjunction with IF, JP, JS, ( ), &, and | to perform conditional jumps. The result of a comparison expression can also be printed with MG or assigned to a variable.

Arguments

(n < m) or (n > m) or (n = m) or (n <= m) or (n >= m) or (n <> m) where
     n and m are signed numbers in the range -2147483648 to 2147483647

Operands

N/A

Usage

Usage and Default Details
UsageValue
While Moving (No RIO)Yes
In a ProgramYes
Command LineYes
Controller UsageAll
Default ValueN/A
Default FormatN/A

Related Commands

( ) - Parentheses
IF - If statement
JP - Jump
JS - Jump subroutine

Examples

IF(x > 2) & (y = 4)
 MG "true"
ENDIF   ;'x must be greater than 2 and y equal to 4 for
        ;'the message to print