Tag Link | [Tag->Eval] | Category | Tags |
---|---|---|---|
Type | Member | Source Available | No |
Support | Preferred | Version | 6.0 |
Change | Unchanged | Data Source | Any |
Output Type | Any | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0 |
The [Tag->Eval] tag can be used to execute a compound expression. Calling this tag evaluates the contents of the compound expression within the context of the current tag.
Local variables cannot be used within a compound expression. The [Local] tag works the same as the [Variable] tag within an evaluated compound expression.
Compound expressions can be created by surrounding a portion of LassoScript style code with braces {}. The compound expression can be stored in a variable or run using the [Tag->Eval] tag.
[{ Return: 'Value' }->(Eval)]
[Variable: 'myExpression' = { Return: 'Value' }]
[Output: $myExpression->(Eval)]
No Parameters Required.
See the Lasso 8 Language Guide for examples of how to use this tag.