Loops/Foreach: Difference between revisions

MOO
m (Added Erlang!)
(MOO)
Line 282:
=={{header|Io}}==
collection foreach(println)
 
=={{header|MOO}}==
<lang moo>things = {"Apple", "Banana", "Coconut"};
for thing in (things)
player:tell(thing);
endfor</lang>
 
=={{header|Objective-C}}==
Anonymous user