pike.hubbe.net

[Top]
previousmkdir() mkmultiset()next

Method mkmapping()


Method mkmapping

mapping mkmapping(array ind, array val)

Description

Make a mapping from two arrays.

Makes a mapping ind[x]:val[x], 0 <= x < sizeof(ind).

ind and val must have the same size.

This is the inverse operation of indices and values.

See also

indices, values


Extracted from Pike v7.3 release 11 at 2001-11-03.