Lasso Soft Inc. > Home

[ array ]


[array] creates an array data type with each of the parameters of the method as the initial elements of the array. The elements of the array can be of any data type. Name/Value pairs are placed into the array as elements of type pair.

  • Syntax
  • Methods
  • Traits
array('array elements')

var(VariableName = array('Array Elements'))
Has methods:
  • Beginner

To create an array of the days of the week:

Use the [array] method with each of the names of the days of the week as parameters. The following example stores an array with the names of the days of the week in a variable named daysOfTheWeek.


local(daysOfTheWeek = array('Sunday', 'Monday', 'Tuesday', 
	'Wednesday', 'Thursday', 'Friday', 'Saturday'))

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