Loops/For with a specified step: Difference between revisions
Content added Content deleted
(→{{header|Groovy}}: new solution) |
|||
Line 619: | Line 619: | ||
<lang bash>for (( x=2; $x<=8; x=$x+2 )); do |
<lang bash>for (( x=2; $x<=8; x=$x+2 )); do |
||
printf "%d, " $x |
printf "%d, " $x |
||
done |
done</lang> |
||
echo "blah blah blah"</lang> |
|||
=={{header|Vedit macro language}}== |
=={{header|Vedit macro language}}== |