Hash from two arrays: Difference between revisions

Content added Content deleted
Line 858: Line 858:
=={{header|langur}}==
=={{header|langur}}==
=== the easy way ===
=== the easy way ===
<lang langur>writeln toHash w/a b c d/, [1, 2, 3, 4]</lang>
<lang langur>writeln toHash w/a b c d/, [1, 2, 3, 4]

# note: w/a b c d/ == ["a", "b", "c", "d"]</lang>


=== a longer way ===
=== a longer way ===