Servertec | for step-next | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Repeats a block of statements a specified number of times. Syntaxfor variable = expression1 to expression2 step expression3{ statement }... next Notesvariable the loop counter.expression1 the initial value of the loop counter. expression2 the final value of the loop counter. expression3 the increment to loop counter each time through the loop. statement any statements to process. Repeats the block of statements 0 or more times. Example
println( i ) next |
|
top of page
|