About For Loops
Can always be translated into a while loop
The control variable should not be changed in the loop
The control variable has a value that is undefined when the loop is done
A loop may be executed zero timesfor I := 2 to 1 do writeln(I)
Previous slide
Next slide
Back to first slide
View graphic version