mkmapping

./driver3.2@242/doc/efun/mkmapping · 349 B

From the archive driver3.2@242.tar.gz

Download the archive   « Back to the archive contents

mapping
mkmapping(mixed *arr1, mixed *arr2)

Return a mapping with indices from 'arr1' and values from 'arr2'. arr1[0] will
index arr2[0], arr1[1] will index arr2[1], etc. If the arrays are of unequal
size, the mapping will only contain as much elements as are in the smallest
array.

See also:
    mappingp, m_indices, m_values, m_delete, m_sizeof

Site Stats

Snippets: 1791
Codebases: 571