[Output_None] ... [/Output_None] hides a portion of page from being output, but processes the LDML 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.
[Output_None] ... [/Output_None]
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
Tag Link | [Output_None] ... [/Output_None] | Category | Output |
---|---|---|---|
Type | Container | Data Source | Any |
Support | Preferred | Version | 5.0 |
Output Type | None | Security | None |
Implementation | LCAPI | Sets | Lasso 7.0, Lasso 6.0, Lasso 5.0 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft