The [set->asString] method outputs a set as a string object.
This method is used primarily for debugging purposes.
set->asString
As this example shows, even though the outputs look the same, they are different.
Code
var( People_Set = set('John Doe','Jane Doe', 'Joe Surname', 'John Doe') )
var( People_String = $People_Set->asString )
'People_Set: '+$People_Set+', is type: ' + $People_Set->type + '\n'
'People_String: '+$People_String+', is type: ' + $People_String->type
Result
People_Set: set(Jane Doe, Joe Surname, John Doe), is type: set People_String: set(Jane Doe, Joe Surname, John Doe), 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