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