Difference between revisions of "To"
From Lazarus wiki
Jump to navigationJump to searchm (Text replace - "Delphi>" to "syntaxhighlight>") |
|||
Line 1: | Line 1: | ||
− | == [[For]] to [[Do|do]] == | + | {{to}} |
+ | |||
+ | [[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|for]] to [[Do|do]] == | ||
<syntaxhighlight> | <syntaxhighlight> | ||
var I:integer; | var I:integer; |
Revision as of 23:32, 16 October 2015
│
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.