qb45qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
FOR...NEXT Statement QuickSCREEN
  QuickSCREEN      Details      Example      Contents      Index
──────────────────────────────────────────────────────────────────────────────
FOR...NEXT - a control flow statement that repeats a block of
             statements a specified number of times
Syntax
  FOR counter = start TO end [STEP increment]
    [statements]
  NEXT [counter [,counter...]]
    ■ counter is a numeric variable used as the loop counter
    ■ start is the initial value and end is the final value of the counter
    ■ increment is the amount the counter is incremented each time
      through the loop
 
See Also  DO...LOOP  WHILE...WEND