updating oE remove
remove
include map.e namespace map public procedure remove(map the_map_p, object key)
removes an entry with given key from a map.
Parameters:
- the_map_p : the map to operate on
- key : an object, the key to remove.
Comments:
- If key is not on the_map_p, the the_map_p is returned unchanged.
- If you need to remove all entries, see clear
Example 1:
map the_map_p the_map_p = new() put(the_map_p, "Amy", 66.9) remove(the_map_p, "Amy") -- the_map_p is now an empty map again
See Also:
Not Categorized, Please Help
|