Relational Operators

FreeBASIC

Relational Operators
 
Operators that compare relationships

The relational operators perform comparisons between the values of two operands. Each operator returns a boolean result that is true (-1) if the relationship holds true, or false (0) if not.

Operator = (Equal)
Compares the equal relation of two operands.
Operator <> (Not Equal)
Compares the inequality relation of two operands.
Operator < (Less Than)
Compares the less than relation of two operands.
Operator <= (Less Than Or Equal)
Compares the less than or equal relation of two operands.
Operator >= (Greater Than Or Equal)
Compares the greater than or equal relation of two operands.
Operator > (Greater Than)
Compares the greater than relation of two operands.
Operator Is (Run-Time Type Information)
Checks whether an object is of a certain type.