Loop over multiple arrays simultaneously: Difference between revisions
Content added Content deleted
(→{{header|Zig}}: Add more examples and annotate version) |
(Added Easylang) |
||
Line 1,582: | Line 1,582: | ||
(This will stop when the end of the shortest collection is reached.) |
(This will stop when the end of the shortest collection is reached.) |
||
=={{header|EasyLang}}== |
|||
<syntaxhighlight> |
|||
a$[] = [ "a" "b" "c" ] |
|||
b$[] = [ "A" "B" "C" ] |
|||
c[] = [ 1 2 3 ] |
|||
for i = 1 to 3 |
|||
print a$[i] & b$[i] & c[i] |
|||
. |
|||
</syntaxhighlight> |
|||
=={{header|EchoLisp}}== |
=={{header|EchoLisp}}== |