Jump to content

Loops/Foreach: Difference between revisions

m
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 :
1,015

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.