POSITION:028,114
COLOUR:STANDARD
TEXT:00,Let's begin our learning by introducing the "if" statement, which is
TEXT:16,the workhorse of program branching:
COLOUR:EUPHORIA
TEXT:32,if            then
COLOUR:POINTS
TEXT:00,   expression
TEXT:16,     one or more Euphoria statements
COLOUR:EUPHORIA
TEXT:16,end if
COLOUR:STANDARD
TEXT:32,The "if" statement will execute                                 only
COLOUR:POINTS
TEXT:00,                                one or more Euphoria statements
COLOUR:STANDARD
TEXT:16,if            evaluates to be true. If the expression evaluates to
COLOUR:POINTS
TEXT:00,   expression
COLOUR:STANDARD
TEXT:16,to be false, program control will skip the conditioned statements and
TEXT:16,then resume with the first Euphoria statement following the        line.
COLOUR:EUPHORIA
TEXT:00,                                                            end if
COLOUR:STANDARD
TEXT:32,The expression of an "if" statement can be any arithmetic, logical, or
TEXT:16,relational expression, or even a constant value. Most of the time,
TEXT:16,however, an expression is either a simple logical expression or a larger
TEXT:16,relational expression linking logical expressions together.
