map.value

Syntax

a = map.value(m,k)

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 - number or string used as the key