content_image/707425.jpg
8.2.4. Relational Operators. The relational operators are summarized by the following table. With the exception of the operator in, the types possessed by the operands either must be compatible, or one must be Real and the other must be Integer. For in, the first (left) operand must possess an ordinal type that is compatible with the base type of the set type possessed by the second operand. 

The expression x <= y where x and yare sets yields true if every member of x is a member of y, i.e., if x is a subset of y. 

The ordering of compatible strings is according to the ordering of the values of type Char (see Section 6.1.2). 

<img src='content_image/707425.jpg'>

Examples offactors: 

Examples of terms: 

Examples of simple expressions: 

Examples of expressions: 

x (W + x + Y) [Red, Light, Green] not P 

x * Y Q and not P 

x + GrayScale[2 * I] P or Q I*J + 1 

x = l. 5 (I < J) = (J < K) 

15 sin(X+Y) [1, 5, 10 .. 19, 60] 

II (1-1) (X <= Y) and (Y < W) 

-x Hue1 + Hue2 

P <= Q Light in Hue1 

