Tutorials Point    Euphoria Basics   Euphoria Useful References
  Euphoria Useful Resources   Selected Reading  © 2013
TutorialsPoint.COM    Home     References     Discussion
Forums     About TP    Euphoria - The for statement  previous
next AddThis Social Bookmark Button    A for statement sets up a
special loop that has its own loop variable. The loop variable
starts with the specified initial value and increments or
decrements it to the specified final value.    The syntax of a
for loop is:  for "initial value" to "last value" by "inremental
value" do    -- Statements to be executed. end for  Here you
would initialise initial value of a variable and then body of
the loop is executed. After every iteration, variable value is
increased by the given incremental value and then last value of
the variable is checked and it it is reached then loop would be
terminated.  The initial value, last value and increment must
all be atoms. If no increment is specified then +1 is assumed.
The for loop does not support wi