NOP Design Home Page
Documentation
TOC/Index
Search
Downloads



For

Loop a predetermined number of times

Within the loop, the loop iterator (in the example below, i) becomes constant, and can only be changed by the loop itself.

Sample Source

For i := 1 To 10
  Say "\n i = " + i
Loop

Sample Source

For i := 10 DownTo 1
  Say "\n i = " + i
Loop

Related Function(s):
   ForEach; Repeat ... Until; While;

Minimum version: 1.0