|
for |
|
for ([expression-1]; [expression-2]; [expression-3]) statement expression-1 is executed once as initializer. As long as expression-2 evaluates true statement and expression-3 are executed in sequence. If expression-2 is not present, it is taken as permanently true. The loop may be left premature by break. With continue the rest of statement is skipped and the loop continues with the next expression-3 followed by the expression-2 check. |
||||||||
| Copyright © IBK Landquart | Last revision: 27.05.2002 | << Back Top Next >> |