Loops/Foreach: Difference between revisions
→{{header|ALGOL 68}}: Added note about ALGOL 68RS and algol68toc
(Added solution for Action!) |
(→{{header|ALGOL 68}}: Added note about ALGOL 68RS and algol68toc) |
||
Line 280:
Mary Had +1 little lamb.
</pre>
<br>
<br>
<br>[[ALGOL 68RS]] and algol68toc have a FORALL loop, the following is equivalent to the example above:
<lang algol68>FORALL index IN collection DO
print((collection[index]," "))
OD</lang>
=={{header|AmigaE}}==
|