The [pair->asString] method outputs a pair object as a string object. This method is used mostly for debugging purposes.
pair->asString
Use the [pair->asString] method. As this example shows, even though the outputs look the same, they are different.
Code
var( aPair = pair('First', 'Second') )
var( aString = $aPair->asString )
'aPair: '+$aPair+' is type '+$aPair->type+'\n'
'aString: '+$aString+' is type '+$aString->type
Result
aPair: (First = Second) is type pair aString: (First = Second) is type string
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