Positron Compiler Documentation

Relational Operators

Positron8 · Revision 4.0.6.5 · PDF page 76

Relational operators are used to compare two values. The result can be used to make a decision regarding program flow.

The list below shows the valid relational operators accepted by the compiler:

OperatorRelationExpression Type
=EqualityX = Y
==EqualityX == Y (Same as above Equality)
<>InequalityX <> Y
<Less thanX < Y
>Greater thanX > Y
<=Less than or Equal toX <= Y
>=Greater than or Equal to X >= Y
See also :If-Then-Else-EndIf, Repeat-Until, Select-Case, While-Wend.
View original PDF page 76Open page in PDFOriginal PDF page 76