Loops/Foreach: Difference between revisions

Add Nu
imported>Brie
(Add Nu)
Line 2,103:
ipsum
dolor</pre>
=={{header|Nu}}==
<syntaxhighlight lang="nu">
let l = [a b c d]
for x in $l {print $x}
</syntaxhighlight>
{{out}}
<pre>
a
b
c
d
</pre>
 
=={{header|Objeck}}==
Anonymous user