[map->remove] removes an item from the map by key. Accepts a single parameter identifying the key of the item to be removed.
map->remove( key )
Use the [map->remove] method. The following example removes the value for the key 'red' from the map leaving only the values for the keys 'blue' and 'green.'
var (colours = map( 'red'='#ff0000', 'green' = '#00ff00', 'blue' = '#0000ff', 'grey' = '#aaaaaa') ) $colours->remove('red')
map(blue = #0000ff, green = #00ff00, grey = #aaaaaa)
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.