Tag Link | [Tag->Compile] | Category | Tags |
---|---|---|---|
Type | Member | Source Available | No |
Support | Preferred | Version | 8.0 |
Change | Unchanged | Data Source | Any |
Output Type | None | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0 |
[Tag->Compile] allows Lasso code to be compiled into a custom tag and then executed. The tag requires one parameter which is Lasso code that will be executed when the tag is called.
[Var: 'tag' = Tag]
[$tag->(Compile: '[Return: 1]')]
[$tag->invoke]
Required Parameters | |
---|---|
String | The LDML code to be compiled into the tag. |
Optional Parameters | |
-Name | An optional name for the script. This name will be reported in any error messages that are generated by the code being compiled. |
See the Lasso 8 Language Guide for examples of how to use this tag.