The [staticarray->values] method returns a new staticarray containing all the values of the original in the same order.
staticarray->values
Use the [staticarray->values] method.
The following example creates a copy of a staticarray of days of the week.
Code
var( DaysOfWeek = staticarray('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat') )
var( week2 = $DaysOfWeek->values )
$week2
Result
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.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments