Jump to content

Loops/Continue: Difference between revisions

Added PicoLisp
(Added PicoLisp)
Line 413:
echo ', ';
}</lang>
 
=={{header|PicoLisp}}==
PicoLisp doesn't have an explicit 'continue' functionality. It can always be
emulated with a conditional expression.
<lang PicoLisp>(for (I 1 (>= 10 I) (inc I))
(print I)
(if (=0 (% I 5))
(prinl)
(prin ", ") ) )</lang>
 
=={{header|Pike}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.