Jump to content

Loops/Foreach: Difference between revisions

→‎{{header|ALGOL 68}}: Corrected the ALGOL 68 RS FORALL syntax
(Add LDPL)
(→‎{{header|ALGOL 68}}: Corrected the ALGOL 68 RS FORALL syntax)
Line 284:
<br>
<br>[[ALGOL 68RS]] and [[Algol68toc]] have a FORALL loop, the following is equivalent to the example above:
<syntaxhighlight lang="algol68">FORALL indexc IN collection DO
print((collection[index]c," "))
OD</syntaxhighlight>
 
47

edits

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