POSITION:028,114
COLOUR:STANDARD
TEXT:00,An "and" logical expression only evaluates to a single true value
TEXT:16,if both conditions are themselves evaluated to be true, and an "or"
TEXT:16,logical expression is only false when both conditions are false.
TEXT:32,So let's put this knowledge to use in an example Euphoria program:
COLOUR:EUPHORIA
TEXT:32,atom value1,value2,test1,test2,test3,test4
TEXT:32,value1 = 50
TEXT:16,value2 = 25
TEXT:16,test1 = value1 < 10 and value2 = 25
TEXT:16,test2 = value1 > 5 and value2 = 12.5 * 2
TEXT:16,test3 = value1 != 100 or value2 < 90
TEXT:16,test4 = value1 = 5 or value2 > 27
COLOUR:STANDARD
TEXT:32,Try to guess the value of each variable before going to the next page.

