# Map type

A Map variable stores many values, each related to a different 'key'. For instance, you might want to store a number of phone numbers and relate them to different names, all in the one variable.

In thr following example, the variable is P. Its keys are:

- "Adam"
- "Brad"
- "Dhak"

Use the Set variable part to relate values to the keys as follows:

- P["Adam"] <- "237456"
- P["Brad"] <- "456252"
- P["Dhak"] <- "983356"

Tips for use:

- Note that keys and the values in a Map variable all have types as well.
- The Monitor box part displays the keys and related values of a map.

## See also:

- Variable types