Hash from two arrays: Difference between revisions
Content added Content deleted
m (→{{header|REXX}}: simplified the program.) |
Drkameleon (talk | contribs) No edit summary |
||
Line 99: | Line 99: | ||
=={{header|Arturo}}== |
=={{header|Arturo}}== |
||
<lang rebol>h: dictionary.raw flatten combine [a b c d] [1 2 3 4] |
|||
⚫ | |||
⚫ | |||
<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 |
|||
⚫ | |||
⚫ | |||
<pre>#{ four: 4, one: 1, three: 3, two: 2 }</pre> |
|||
=={{header|AutoHotkey}}== |
=={{header|AutoHotkey}}== |