Hash from two arrays: Difference between revisions
→{{header|langur}}
(Added Yabasic) |
Langurmonkey (talk | contribs) |
||
Line 1,303:
=={{header|langur}}==
=== the easy way ===
<syntaxhighlight lang="langur">writeln(hash
</syntaxhighlight>
Note that
=== a longer way ===
Using the append operator would silently overwrite hash values for matching keys, but the more() function will not.
<syntaxhighlight lang="langur">val .new = foldfrom(
h{},
)
|