Anonymous user
Loops/For with a specified step: Difference between revisions
Added a Slate implementation.
(→{{header|J}}: follow output for other examples) |
(Added a Slate implementation.) |
||
Line 244:
Output
<pre>2, 4, 6, 8, who do we appreciate?</pre>
=={{header|Slate}}==
<lang slate>2 to: 8 by: 2 do: [| :i | Console ; i printString ; ', '].
inform: 'enough with the cheering already!'.</lang>
=={{header|Smalltalk}}==
|