Skip to content

Relational Operators

Paul Squires edited this page Sep 19, 2026 · 1 revision

Home › Operators › Relational Operators

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.


Category: Operators


Reproduced from the FreeBASIC Wiki Manual under the GNU Free Documentation License 1.3 — with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. Copyright © the FreeBASIC project and wiki contributors. See License.

Clone this wiki locally