The [staticarray->values] method returns a new staticarray containing all the values of the original in the same order.
Use the [staticarray->values] method.
The following example creates a copy of a staticarray of days of the week.
var( DaysOfWeek = staticarray('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat') ) var( week2 = $DaysOfWeek->values ) $week2
staticarray(Sun, Mon, Tue, Wed, Thu, Fri, Sat)
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.