Relational Operators

<< Click to Display Table of Contents >>

Navigation:  Project > Scripts > ST language > Operators and Expressions in STL > Operators >

Relational Operators

Previous pageReturn to chapter overviewNext page

To compare or find a relation between two values you can use one of the relational operators. They are used for comparison and the result will be a boolean value (BOOL type), either TRUE(1) or FALSE(0).

== (equal)

< (less than)

<= (less than or equal)

> (greater than)

>= (greater than or equal)

!= (not equal)   

Example:

TEMPERATURE = 93.9;

TEMPERATURE >= 100.0;

Result:

false