[Map] creates a map data type with each of the name/value parameters of the tag as the initial elements of the map. The names and values of each name/value parameter can be of any data type.
[Map: 'Map Names'='Map_Values']
[Variable: 'VariableName'=(Map: 'Map Names'='Map_Values')]
Use the [Map] tag with name/value pairs for each of the names of the days of the week as parameters. The following example stores a map which maps integers to the names of the days of the week in a variable named DaysOfTheWeek.
[Variable: 'DaysofTheWeek'=(Map: 0='Sunday', 1='Monday',
2='Tuesday', 3='Wednesday', 4='Thursday', 5='Friday', 6='Saturday')]
Tag Link | [Map] | Category | Data Type |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 5.0 |
Output Type | Map | Security | None |
Implementation | Sets | Lasso 5.0 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft