Outputs the staticarray as a string. This method is used for debugging purposes.
staticarray->asString
As this example shows, even though the outputs look the same, they are different.
Code
var( daysOfWeek = staticarray( 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat') )
var (dayString = $daysOfWeek->asString)
'daysOfWeek: '+$daysOfWeek+' is type '+$daysOfWeek->type+'\n'
'dayString: '+$dayString+' is type '+$dayString->type
Result
daysOfWeek: staticarray(Sun, Mon, Tue, Wed, Thu, Fri, Sat) is type staticarray dayString: staticarray(Sun, Mon, Tue, Wed, Thu, Fri, Sat) 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