Outputs the map as a string. This method is used for debugging purposes.
map->asString
As this example shows, even though the outputs look the same, they are different.
Code
var( People_Map = map('President' = 'John Doe',
'Vice President' = 'Jane Doe',
'Treasurer' = 'Joe Surname',
'Secretary' = 'John Doe') )
var( People_String = $People_Map->asString )
'People_Map: '+$People_Map+', is type: ' + $People_Map->type + '\n'
'People_String: '+$People_String+', is type: ' + $People_String->type
Result
People_Map: map(President = John Doe, Secretary = John Doe, Treasurer = Joe Surname, Vice President = Jane Doe), is type: map People_String: map(President = John Doe, Secretary = John Doe, Treasurer = Joe Surname, Vice President = Jane 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