Operators Relational Operators If x has a value of 6 and y has a value of 10, the following Boolean expressions resolve to -1 (true): x y y >= x y x and these expressions resolve to 0 (false): x > y x 6 x == y Note the difference between the assignment operator = and the relational operator ==: z = x == y In this example, z is assigned a value of 0 since the Boolean expression x == y is false and would therefore resolve to 0. A relational operator never changes the value of the variables on either side of the relational operator.
Logical Operators Logical operators affect the resolution of a Boolean variable or expression, and combine several Boolean expressions so they resolve to a single Boolean value. eV+ uses the standard logical operators shown in the following table. Logical Operators eV+Language User's Guide, v2.x, 18318-000 Rev A Page 52 Symbol Function == equal to less than > greater than less than or equal to >= or => greater than or equal to not equal to Symbol Effect NOT Complement the expression