Loops/Foreach: Difference between revisions
Content deleted Content added
Add Jsish |
|||
Line 837: | Line 837: | ||
=={{header|Elena}}== |
=={{header|Elena}}== |
||
ELENA |
ELENA 4.x : |
||
<lang elena>import system'routines |
<lang elena>import system'routines; |
||
import extensions |
import extensions; |
||
public program |
public program() |
||
{ |
|||
[ |
|||
var things := |
var things := new string[]{"Apple", "Banana", "Coconut"}; |
||
things |
things.forEach:(thing) |
||
{ |
|||
console |
console.printLine:thing |
||
} |
|||
}</lang> |
|||
=={{header|Elixir}}== |
=={{header|Elixir}}== |