LassoScript Utility
Basics Browse Detail

[Return]

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

Description

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

Syntax

[Return: 'Return Value']

Parameters

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

Examples

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!']
[/Define_Tag]

[MyFirstTag]

Hello World!