Lasso Soft Inc. > Home

[ staticarray->values ]


The [staticarray->values] method returns a new staticarray containing all the values of the original in the same order.

  • Syntax
  • Beginner

To return an exact copy of a static array

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 )



staticarray(Sun, Mon, Tue, Wed, Thu, Fri, Sat)

Recent Comments

No Comments found

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. > Home



©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft