Loops/Foreach: Difference between revisions
Content deleted Content added
Thundergnat (talk | contribs) m →{{header|REBOL}}: Remove vanity tags |
|||
Line 823: | Line 823: | ||
=={{header|Elena}}== |
=={{header|Elena}}== |
||
ELENA 3. |
ELENA 3.4 : |
||
<lang elena>import system'routines. |
<lang elena>import system'routines. |
||
import extensions. |
import extensions. |
||
public program |
|||
[ |
[ |
||
var things := ("Apple", "Banana", "Coconut"). |
var things := ("Apple", "Banana", "Coconut"). |
||
Line 833: | Line 833: | ||
things forEach(:thing) |
things forEach(:thing) |
||
[ |
[ |
||
console printLine:thing |
console printLine:thing |
||
] |
] |
||
] |
]</lang> |
||
=={{header|Elixir}}== |
=={{header|Elixir}}== |