POSITION:028,114
COLOUR:STANDARD
TEXT:00,Here are a list of valid Euphoria relational operators:
COLOUR:EUPHORIA
TEXT:32,<                                  >                                  
COLOUR:POINTS
TEXT:00,    less than                          greater than                   
COLOUR:EUPHORIA
TEXT:16,<=                                 >=                                 
COLOUR:POINTS
TEXT:00,    less than or equal to              greater than or equal to       
COLOUR:EUPHORIA
TEXT:16,=                                  !=                                 
COLOUR:POINTS
TEXT:00,    equal to                           not equal to                  
COLOUR:STANDARD
TEXT:32,Here is a program example that uses several of these operators in
TEXT:16,relational expressions. See if you can guess the value of each variable
TEXT:16,first before reading the explanation of each line:
COLOUR:EUPHORIA
TEXT:32,atom t1, t2, t3, t4
TEXT:32,t1 = 5 > 4
COLOUR:POINTS
TEXT:00,                  1 (TRUE) in "t1": 5 is GREATER than 4
COLOUR:EUPHORIA
TEXT:16,t2 = 7 != 7
COLOUR:POINTS
TEXT:00,                  0 (FALSE) in "t2": 7 is EQUAL to 7, not UNEQUAL
COLOUR:EUPHORIA
TEXT:16,t3 = 13 <= 13
COLOUR:POINTS
TEXT:00,                  1 (TRUE) in "t3": 13 is LESS THAN OR EQUAL to 13
x, y,points_colour)
COLOUR:EUPHORIA
TEXT:16,t4 = 12 = 2 * 6
COLOUR:POINTS
TEXT:00,                  1 (TRUE) in "t4": 12 is EQUAL to 2 * 6, which is 12

