Loops/Foreach: Difference between revisions

Content deleted Content added
Franck (talk | contribs)
Franck (talk | contribs)
Line 1,238:
=={{header|Oforth}}==
 
<lang Oforth>func: monthsPrintprintMonths { | o | Date.Months forEach: o [ o println ] }</lang>
 
But, apply can be used instead of a loop :