map.3

foundation2_fluffos_v1/lib/doc/driver/efuns/general/map.3 · 764 B

From the archive foundation2_fluffos_v1.zip

Download the archive   « Back to the archive contents

.\"modify an mapping/array
.TH map 3 "5 Sep 1994" MudOS "LPC Library Functions"

.SH NAME
map() - modify an mapping, array, or string via application of a function

.SH SYNOPSIS
.nf
mapping map( mapping | mixed* | string x, string fun, object ob,
             mixed extra, ... );
mapping map( mapping | mixed* | string x, function f, mixed extra, ... );

.SH DESCRIPTION
If the first argument is a mapping, map() behaves exactly like
map_mapping().  If it is an array, map() behaves exactly like
map_array().  If it's argument is a string, map() passes each
character (as an int) to the function, and replaces the character
with the return value if the return value is a non-zero integer.

.SH SEE ALSO
filter_array(3), sort_array(3), map_array(3), map_mapping(3)

Site Stats

Snippets: 1791
Codebases: 571