LassoScript Utility
Basics Browse Detail


Tag Link [Return] Category Custom Tag
Type Process Source Available No
Support Preferred Version 5.0
Change Unchanged Data Source Any
Output Type None Security Tag
Implementation Internal Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0


[Return] is used to return a value from a custom tag. No tags after the [Return] tag will be executed (except for [PostCondition] tags).


[Return: 'Return Value']


Optional Parameters
Return Value The value to be returned. If omitted then a null value is returned.


To return a value from a custom tag:

Use the [Return] tag. The following example returns the phrase Hello World! from a custom tag.

[Define_Tag: 'MyFirstTag']
  [Return: 'Hello World!']


Hello World!