To use this website fully, you first need to accept the use of cookies. By agreeing to the use of cookies you consent to the use of functional cookies. For more information read this page.

Official ZPE/YASS documentationmap_put

map_put (map a, mixed k, mixed c) ⇒ map

Adds a value, v, to the map, a, with the key, k.

Alternative function names: associative_array_put
First available: Version 1.3.4


Version 1.4.2 dropped the alternative name assoc_put and added the map_put alternative name.

Version 1.9.9 switched from associative_array_put to map_put.


There are no comments on this page.

New comment
Code previewClose
Feedback 👍
Comments are sent via email to me.