Anonymous user
Hash from two arrays: Difference between revisions
→{{header|D}}
m (→{{header|Icon}} and {{header|Unicon}}: -workswith) |
|||
Line 332:
hash[key] = values[idx];
// alternative using
foreach (pair; zip(keys, values))
hash[pair
}</lang>
|