Lasso Soft Inc. > Home

[ set->asString ]


The [set->asString] method outputs a set as a string object. 

This method is used primarily for debugging purposes.

  • Syntax
  • Beginner

Output a variable of set type as a string

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

Recent Comments

No Comments found

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. > Home



©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft