LassoScript Utility
Basics Browse Detail

[Output_None] ... [/Output_None]

Tag Link [Output_None] ... Category Output
Type Container 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
Lasso 3 Equivalent [Lasso_Comment] ...

Description

[Output_None] ... [/Output_None] hides a portion of page from being output, but processes the Lasso tags within.

This tag can reduce the amount of extra white space and comments that are sent to the visitor's Web browser, decreasing the load time of format files.

One common technique is to use [HTML_Comment] ... [/HTML_Comment] tags while a site is in development so the return values from tags can be viewed in the source of the pages served form Lasso, then to change those tags to [Output_None] ... [/Output_None] tags when the site is deployed.

Syntax

[Output_None] ... [/Output_None]

Parameters

No Parameters Required.

Examples

To prevent extra white space from being sent to visitors' Web browsers:

Use the [Output_None] ... [/Output_None] tags around blocks of LDML code that do not need to display any results to the site visitor. All of the tags inside this container tag will be processed normally. The following example shows several calculations which display debugging information, but only the final result is shown to the visitor.

[Output_None]
Create Variable [Variable: 'Total'=0.0]
Add Price [Variable: 'Total' = $Total + 10.00]
Add Tax [Variable: 'Total' = $Total + .97]
[/Output_None]
<br>[Variable: 'Total']

<br>10.97