Loops/Break: Difference between revisions
m
→{{header|ZX Spectrum Basic}}: Regularize non-standard header markup
(→{{header|Smalltalk}}: readability by using better varNames) |
Thundergnat (talk | contribs) m (→{{header|ZX Spectrum Basic}}: Regularize non-standard header markup) |
||
Line 695:
loop</lang>
===
On the ZX Spectrum, for loops must be terminated through the NEXT statement, otherwise a memory leak will occur. To terminate a loop prematurely, set the loop counter to the last iterative value and jump to the NEXT statement:
|