Loops/Increment loop index within loop body: Difference between revisions
Content added Content deleted
Line 3,999: | Line 3,999: | ||
]. |
]. |
||
] loopWithExit.</lang> |
] loopWithExit.</lang> |
||
Note: uses a |
Note: above code uses a public domain printf goodie which is part of many Smalltalk's base libraries; if not present in a particular dialect, use regular print/display/transcribe or whatever is available. |
||
{{out}} |
{{out}} |
||
<pre>1 43 |
<pre>1 43 |