Part of trait_fintiteForEach. Simply returns the elements as a staticarray.
This example uses the [array->values] method to create a duplicate array of an array of days of the week which has type staticarray.
var( DaysOfWeek = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat') ) var (StaticDays = $DaysOfWeek->values ) 'DaysOfWeek: '+$DaysOfWeek+', is type '+$DaysOfWeek->type+'\n' 'StaticDays: '+$StaticDays+', is type '+$StaticDays->type+'\n'
DaysOfWeek: array(Sun, Mon, Tue, Wed, Thu, Fri, Sat), is type array StaticDays: staticarray(Sun, Mon, Tue, Wed, Thu, Fri, Sat), 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.