Loop over multiple arrays simultaneously: Difference between revisions

Content added Content deleted
Line 3,425: Line 3,425:
> _</lang>
> _</lang>
If either of the arrays are smaller than (size a), then an indexerror is thrown. This could be caught with a <code>try...catch</code> block.
If either of the arrays are smaller than (size a), then an indexerror is thrown. This could be caught with a <code>try...catch</code> block.

=={{header|Ursala}}==
Compute the transpose of the list formed of the three lists.
If they're of unequal lengths, an exception occurs.
<lang Ursala>#show+

main = ~&K7 <'abc','ABC','123'></lang>
{{out}}
<pre>
aA1
bB2
cC3
</pre>


=={{header|Vala}}==
=={{header|Vala}}==