Loops/For with a specified step: Difference between revisions

→‎{{header|R}}: Added REBOL example.
m (Fixed lang tags.)
(→‎{{header|R}}: Added REBOL example.)
Line 269:
}
cat("who do we appreciate?\n")</lang>
 
=={{header|REBOL}}==
<lang REBOL>for i 2 8 2 [
prin rejoin [i ", "]]
print "who do we appreciate?"</lang>
 
Output:
 
<pre>2, 4, 6, 8, who do we appreciate?</pre>
 
=={{header|Ruby}}==
Anonymous user