Pascal Report  169  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).  Examples offactors:  Examples of terms:  Examples of simple expressions:  Examples of expressions:  x  (W  +  x  +  Y)  [Red,  Light,  Green]  not  P  15  sin(X+Y)  [1,  5,  10 .. 19,  60]  II (1-1)  (X  <=  Y)  and  (Y  <  W)  x  *  Y  Q and not  P  x +  GrayScale[2  *  I]  P  or Q  I*J +  1  -x  Hue1  +  Hue2  P  <=  Q  Light  in Hue1  x  =  l.  5  (I  <  J)  =  (J  <  K)  Operator  Operation  =  equality  <>  inequality  <=  less than  or equal  <=  set inclusion  >=  greater than  or equal  >=  set inclusion  <  less than  >  greater than  in  set membership  Type of Operands  simple, pointer,  set, or string  simple, pointer,  set, or string  simple or string  set  simple or string  set  simple or string  simple or string  ordinal and set  Type of Result  Boolean  Boolean  Boolean  Boolean  Boolean  Boolean  Boolean  Boolean  Boolean 