The [set->asString] method outputs a set as a string object.
This method is used primarily for debugging purposes.
As this example shows, even though the outputs look the same, they are different.
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
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.