Tag Link | [Pair->Value] | Category | Array |
---|---|---|---|
Type | Member | Source Available | No |
Support | Synonym | Version | 5.0 |
Change | Unchanged | Data Source | Any |
Output Type | Any | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0 |
[Pair->Value] returns the second 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->(Value)]
No Parameters Required.
To return the second element of a pair:
Use the [Pair->Value] tag. The following example returns the second element from a pair [Pair: 'First_Name'='John'].
[Variable: 'thePair'=(Pair: 'First_Name'='John')]
[Output: $thePair->Value]
John