Positron Compiler Documentation

Relational Operators

Positron16 · Revision 1.1.3.5 · PDF page 71

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 operands 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 71Open page in PDFOriginal PDF page 71