Site hosted by Angelfire.com: Build your free website today!
NAME
  FOR...NEXT Statement

SYNOPSIS
  FOR counter = start TO end [STEP increment]
      [statementblock]
  NEXT [counter [,counter]...]
      o counter          A numeric variable used as the loop counter.
      o start and end    The initial and final values of the counter.
      o increment        The amount the counter is changed each time through
                         the loop.

DESCRIPTION
  Repeats a block of statements a specified number of times.

  Example:
      FOR i% = 1 TO 15
          PRINT i%
      NEXT i%
      FOR i% = 7 to -6 STEP -3
          PRINT i%
      NEXT i%

SEE ALSO
  DO...LOOP EXIT WHILE...WEND