Tag Link | <?LassoScript ?> | Category | Delimiter |
---|---|---|---|
Type | Delimiter | Source Available | No |
Support | Preferred | Version | 5.0 |
Change | Unchanged | Data Source | Any |
Output Type | None | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0 |
LassoScript allows many Lasso tags to be embedded into a format file using an efficient, easy to read syntax. This method is most useful for long blocks of code.
The same Lasso tags as can be embedded into a page within square brackets can be used within a LassoScript. The differences are as follows.
- Square brackets are not used within a LassoScript.
- Each tag within a LassoScript should end with a semi
- Comments can be included in a LassoScript using the // symbol. Everything until the end of the line after the // will be part of the comment and not processed.
- Multi
- The output of a LassoScript is the concatenation of the output of all tags which are included within the LassoScript.
<?LassoScript
TagName;
?>
<?LassoScript
TagName: Tag Parameters;
?>
<?LassoScript
TagName;
...
/TagName;
?>
<?LassoScript
// This is a comment within a LassoScript.
?>
<?LassoScript
/* This is a multi
within a LassoScript. */
?>
No Parameters Required.
See the Lasso 8 Language Guide for examples of how to use this tag.