Loops/For with a specified step: Difference between revisions

Content added Content deleted
(added common lisp)
Line 48: Line 48:
std::cout << i << std::endl;
std::cout << i << std::endl;
</lang>
</lang>

=={{header|Common Lisp}}==
<lang lisp>(loop for i from 2 to 8 by 2 do
(format t "~d, " i))
(format t "who do we appreciate?~%")</lang>


=={{header|Forth}}==
=={{header|Forth}}==