For Statement

The for statement allows repetive operation to repeat for as long as an index allows it. The for statement can use both the 'upto' and 'downto' operators.

Example: for count := (index-1) downto 1 do for num = 1 to count do...