Tag Link | [Pair->Size] | Category | Array |
---|---|---|---|
Type | Member | Source Available | No |
Support | Preferred | Version | 6.0 |
Change | Unchanged | Data Source | Any |
Output Type | Integer | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0 |
[Pair->Size] always returns 2. This tag and [Pair->Get] ensure that the pair data type can be used with the [Iterate] ... [/Iterate] tags.
[Pair->Size]
No Parameters Required.
To return the size of a pair:
Use the [Pair->Size] tag. The result is always 2.
[Variable: 'myPair' = (Pair: 'First'='Second')]
[Output: $myPair->Size]
2