Loop over multiple arrays simultaneously: Difference between revisions
Loop over multiple arrays simultaneously (view source)
Revision as of 19:04, 15 June 2024
, 22 days agoAdd Uiua
(PascalABC.NET) |
(Add Uiua) |
||
Line 4,459:
bB2
cC3
</pre>
=={{header|Uiua}}==
{{works with|Uiua|0.11.1}}
The <code>≡</code> (rows) modifier inherently iterates over any number of arrays, provided they have the same length or a length of one.
<syntaxhighlight lang="uiua">
≡(⊂⊂) "abc" "ABC" "123"
</syntaxhighlight>
{{out}}
<pre>
╭─
╷ "aA1"
"bB2"
"cC3"
╯
</pre>
|