Lasso Soft Inc. > Home

[Array]

[Array] creates an array data type with each of the parameters of the tag 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
  • Parameters
[Array: 'Array Elements']

[Variable: 'VariableName'=(Array: 'Array Elements')]
Required Parameters
Array Elements The parameters of the [Array] tag including values and name/value parameters are copied as the starting elements of the array.
Examples

To create an array of the days of the week:

Use the [Array] tag 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.

[Variable: 'DaysofTheWeek'=(Array: 'Sunday', 'Monday',
  'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday')]
Tag Link [Array] Category Array
Type Substitution Data Source Any
Support Preferred Version 5.0
Output Type Array Security None
Implementation LCAPI Sets Lasso 7.0, Lasso 6.0, Lasso 5.0

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