Loop over multiple arrays simultaneously: Difference between revisions

Add 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>
 
1,827

edits