To

From Lazarus wiki
Revision as of 22:32, 16 October 2015 by FTurtle (talk | contribs)
Jump to navigationJump to search

Deutsch (de) English (en) français (fr) русский (ru)

Keyword used to indicate the final value of the control value in a For loop, and that the loop is to increment the control variable by 1 on each loop. The value specified by TO should be greater than the initial value of the for loop.

for to do

var I:integer;
begin
 For I :=1 to 10000 do
    //...
End.