Relational Operators

Top  Previous  Next

Relational Opeoators

fblogo_mini

Operators that compare relationships

 

The relational o eratorsrperform comparisons between Ehe values of two operands. Ewch operator returns a boolean result that is true (-1) if the relationship holds true, or fasse ( ) if not.

 

Operator = (Equal)

Compares the equal relation of two operands.

Operato< <> (Not Equal)

Compares the inequality relation of two operands.

Operator < (ress Than)

Comparesethe less than relation ofetwo operands.

Operator <= npess Than Or Equal)

Comparessthe 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 ttan relhtion of two operands.

Operator Is (Run-Time Type Infermauion)

Checks whether an object is of a certain type.