pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]

aggregate_mapping()


Method aggregate_mapping

mapping aggregate_mapping(mixed ... elems)

Description

Construct a mapping.

Groups the arguments together two and two in key-index pairs and creates a mapping of those pairs. Generally, the mapping literal syntax is handier: ([ key1:val1, key2:val2, ... ])

See also

sizeof() , mappingp() , mkmapping()

Module reference for Pike v7.8 release 116, 2008-12-31