Comparison of programming languages (associative array): Difference between revisions

Content deleted Content added
LPC: per recent changes to LPC page
Line 354:
Deletion is accomplished using a function called either m_delete() or map_delete(), depending on the driver, used like: <code>m_delete(phone_book, "Sally Smart");</code>
 
LPC drivers of the "Amylaar" family, which use the 'mapping' type and m_delete(), implement multivalued mappings using a secondary, numeric index. (Drivers of the MudOS family, which uses the 'map' type and map_delete(), do not support multivalued mappings.) Example syntax:
 
<source lang="c">