Loops/Foreach: Difference between revisions
m
→{{header|ALGOL 68}}: link
m (→FOREACH) |
m (→{{header|ALGOL 68}}: link) |
||
Line 283:
[[ALGOL 68S]] has a reserved word FOREACH that is used to break arrays in to portions, and process in parallel.
<br>
<br>[[ALGOL 68RS]] and
<lang algol68>FORALL index IN collection DO
print((collection[index]," "))
|