[Pair->Name] returns the first element of a pair.
The pair data type is usually used within an array to store a sequence of name/value pairs. The [Map->Get] tag also returns elements of type pair.
[Pair->(Name)]
Use the [Pair->Name] tag. The following example returns the first element from a pair [Pair: 'First_Name'='John'].
[Variable: 'thePair'=(Pair: 'First_Name'='John')]
[Output: $thePair->Name]
First_Name
Tag Link | [Pair->Name] | Category | Array |
---|---|---|---|
Type | Member | Data Source | Any |
Support | Synonym | Version | 5.0 |
Output Type | Any | 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