Loops/Increment loop index within loop body: Difference between revisions
Content deleted Content added
No edit summary |
Undo revision 278942 by Nigel Galloway (talk) |
||
Line 178:
</pre>
=={{header|ALGOL 68}}==
In Algol 68, the FOR loop counter cannot be modified in the loop. This uses a WHILE loop testing at the top but is otherwise largely a translation of the Kotlin entry.
Line 507 ⟶ 506:
n = 42 99,504,028,301,131
</pre>
=={{header|Fortran}}==
Line 1,209 ⟶ 1,206:
Same as Kotlin entry
</pre>
=={{header|Maple}}==
Line 1,855 ⟶ 1,850:
loop(limit, offset)
}</lang>
=={{header|Tcl}}==
|