map.value

Syntax

a := map.value(m,a)

Get a value. The value associated with the key a is returned. If the key a is not found, then 0 is returned and the key is not added to the map.

Returns:

a - value associated with key a

Arguments:

m - map

a - value used as the key