The [pair->size] method always returns 2.
This method and the [pair->get] method ensure that the pair data type can be used with the [iterate] method.
pair->size
Use the [pair->size] method. The result is always 2.
Code
var( myPair = pair('First'='Second') )
$myPair->size
Result
2
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
Recent Comments