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