[Pair] creates a new pair from a single name/value parameter. The name and the value can be of any data type.
[Pair: 'Name'='Value']
Use the [Pair] tag to create a new pair and the [Array->Insert] tag to insert it at the end of an array. The following example adds a new name/value pair to the end of the [Action_Params] pair array.
[Variable: 'theAction'=(Action_Params)]
[Variable: 'newPair'=(Pair: 'First_Name'='John')]
[(Variable: 'theAction')->(Insert: (Variable: 'newPair'))]
Tag Link | [Pair] | Category | Data Type |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 5.0 |
Output Type | Pair | 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