User`s guide

Symbol Function
== equal to
< less than
> greater than
<= or =< less than or equal to
>= or => greater than or equal to
<> not equal to
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.
V+ uses the standard logical operators shown in the following table.
Symbol Effect
NOT Complement the expression
Logical Operators
Operators
V+Language User's Guide, v17.0
Page 112