5.33.8.2 for loop statement

A "for" statement will repeatedly execute the body of the code as long as the index is within a specified limit.

for { set i 0 } { $i < 5 } { incr i } {

# body here

}