Hash from two arrays: Difference between revisions

no edit summary
m (→‎{{header|REXX}}: simplified the program.)
No edit summary
Line 99:
 
=={{header|Arturo}}==
<lang rebol>h: dictionary.raw flatten combine [a b c d] [1 2 3 4]
print dicth</lang>
{{out}}
 
<pre>[a:1 b:2 c:3 d:4]</pre>
<lang arturo>a: #("one" "two" "three" "four")
b: #(1 2 3 4)
 
dict: toDictionary|zip a b
 
print dict</lang>
 
{{out}}
 
<pre>#{ four: 4, one: 1, three: 3, two: 2 }</pre>
 
=={{header|AutoHotkey}}==
1,532

edits