Lasso Soft Inc. > Home

[Output]

[Output] outputs the result of a calculation or sub-tag. Each of the arguments to [Output] is cast to a string value and concatenated.

This tag should be used any time the result of a calculation should be displayed to a site visitor. For example, rather than simply using [4 + 5] to calculate a value it is preferred to use [Output: 4 + 5] to make the operation more clear.

  • Syntax
  • Parameters
[Output: 'String Value']

[Output: 'String Value', -EncodeNone]
Required Parameters
String Value The value which should be output.
Optional Parameters
Encoding Keyword Specifies the encoding for the tag's return value. Tags are encoded using -EncodeHTML by default if their value is output on a format file. No encoding is applied to nested tags unless an explicity encoding keyword is specified. One of -EncodeBreak, -EncodeHTML, -EncodeNone, -EncodeRaw, -EncodeSmart, -EncodeStrictURL, -EncodeURL, -EncodeXML.
Examples

To output the value of a calculation:

Use the [Output] tag. The following example shows the results of a math calculation.

<br>[Output: 4 + 5 * 8 - 7]
Result:
<br>37
Tag Link [Output] Category Output
Type Substitution Data Source Any
Support Preferred Version 5.0
Output Type String 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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft