Loops/For with a specified step: Difference between revisions

Content added Content deleted
(add link to Delphi for pascal)
(I added Salmon)
Line 664: Line 664:
Output
Output
<pre>2, 4, 6, 8, who do we appreciate?</pre>
<pre>2, 4, 6, 8, who do we appreciate?</pre>

=={{header|Salmon}}==
<lang Salmon>for (x; 2; x <= 8; 2)
print(x, ", ");;
print("who do we appreciate?\n");</lang>


=={{header|Sather}}==
=={{header|Sather}}==