The array->asstaticarray method converts a variable of type array to one of type staticarray.
array->asstaticarray
Convert an array containing the days of the week to a staticarray.
Code
var( DaysOfWeek = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat') )
var( StaticDaysOfWeek = $DaysOfWeek->asstaticarray )
'DaysOfWeek is type '+$DaysOfWeek->type
'StaticDaysOfWeek is type '+$StaticDaysOfWeek->type
Result
DaysOfWeek is type array StaticDaysOfWeek is type staticarray
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