Loops/Continue: Difference between revisions
Content added Content deleted
No edit summary |
m (Use simple 'for') |
||
Line 444: | Line 444: | ||
PicoLisp doesn't have an explicit 'continue' functionality. It can always be |
PicoLisp doesn't have an explicit 'continue' functionality. It can always be |
||
emulated with a conditional expression. |
emulated with a conditional expression. |
||
<lang PicoLisp>(for |
<lang PicoLisp>(for I 10 |
||
(print I) |
(print I) |
||
(if (=0 (% I 5)) |
(if (=0 (% I 5)) |