This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:maplist [2020/04/26 22:16] admin created |
en:maplist [2020/04/26 22:32] (current) admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Map List - Keys and Values ===== | ===== Map List - Keys and Values ===== | ||
- | A Map List is a connection of string keys and associated values. | + | A Map List is a connection of string keys and associated values. |
+ | |||
+ | You may use Map Lists in many statements that are expecting maps and can be used to create a map without the [[map|map]] statement. | ||
==== Example ==== | ==== Example ==== | ||
< | < | ||
+ | inventory = {" | ||
+ | print " | ||
+ | foreach f -> p in inventory | ||
+ | ? f,p | ||
+ | next | ||
</ | </ | ||
+ | |||
+ | ==== History ==== | ||
+ | |2.0.0.0|Added Map Lists| | ||
+ |