map

Syntax

m = map(k,a<,...>)

Create a map. A map is like an array where the key can be an integer, float or string, and the value can be of any type. One can refer to the key to retrieve values in the map. Any number of key/value pairs can be entered upon creation.

Returns:

m - map

Note

Iterate over a FISH map using the loop foreach construct.

Arguments:

k - number or string used as the key

a - value associated with the key k