<?LassoScript ?>

Delimiter

Delimiter

Preferred

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-colon.

- 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-line comments can be delimited by /* and */. Multi-line comments cannot be nested.

- 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-line comment
  within a LassoScript. */
?>

<?LassoScript ?>