Lasso Soft Inc. > Home

[Pair]

[Pair] creates a new pair from a single name/value parameter. The name and the value can be of any data type.

  • Syntax
  • Parameters
[Pair: 'Name'='Value']
Required Parameters
Name/Value Pair The name and value of the parameter become the first and second elements of the pair.
Examples

To add a pair to a pair array:

Use the [Pair] tag to create a new pair and the [Array->Insert] tag to insert it at the end of an array. The following example adds a new name/value pair to the end of the [Action_Params] pair array.

[Variable: 'theAction'=(Action_Params)]
[Variable: 'newPair'=(Pair: 'First_Name'='John')]
[(Variable: 'theAction')->(Insert: (Variable: 'newPair'))]
Tag Link [Pair] Category Array
Type Substitution Data Source Any
Support Preferred Version 5.0
Output Type Pair Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, 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