map.value

Syntax

a := map.value(m,ak)

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

Returns:

a - value associated with key k

Arguments:

m - map

k - value used as the key