for statements |
Top Previous Next |
for statements
Scripter support for statements with the following syntax: for counter := initialValue to finalValue do statement For statement set counter to initialValue, repeats execution of statement (or block) and increment value of counter until counter reachs finalValue.
Examples:
for i:=a to b do begin j:=i^2; sum:=sum+j; end; |