Lasso Soft Inc. > Home

[Params]

[Params] returns an array of all the parameters passed to a custom tag. The array will contain single values or pairs depending on what parameters were passed.

The [Params] array will not contain any encoding keywords that were passed to the current custom tag.

  • Syntax
  • Parameters
[Params]
Examples

To return a list of all the parameters of a custom tag:

Use the [Params] tag. The following tag simply echos its parameters back to the format file.

[Define_Tag: 'Param_Echo']
  [Return: (Params)]
[/Define_Tag]

[Param_Echo: 'One', -Two='Three', 'Four'='Five', -Six, 7, 8=9]
Result:
(array: (One), 
  (pair: (-Two)=(Three)), 
  (pair: (Four)=(Five)), 
  (-Six), 
  (7),
  (pair: (8)=(9))]
Tag Link [Params] Category Custom Tag
Type Substitution Data Source Any
Support Preferred Version 5.0
Output Type Array Security Tag
Implementation Sets 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