Jump to content

Loops/Foreach: Difference between revisions

Added PicoLisp
(Added PicoLisp)
Line 459:
}</lang>
<code>foreach</code> can also iterate over objects. By default it iterates over all visible fields of an object.
 
=={{header|PicoLisp}}==
<lang PicoLisp>(mapc println '(Apple Banana Coconut))</lang>
 
=={{header|Pike}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.