Lasso Soft Inc. > Home

[Pair->Size]

[Pair->Size] always returns 2. This tag and [Pair->Get] ensure that the pair data type can be used with the [Iterate] ... [/Iterate] tags.

  • Syntax
  • Parameters
[Pair->Size]
Required Parameters
Pair The pair to inspect.
Examples

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]
Result:
2
Tag Link [Pair->Size] Category Array
Type Member Data Source Any
Support Preferred Version 6.0
Output Type Integer Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft