Lasso Soft Inc. > Home

[Null]

[Null] creates a null value.

The null value is the default value for newly created variables which are not defined and is returned from many tags as a default value.

The [Null] tag is most often used in comparisons to check whether a given value is empty.

  • Syntax
  • Parameters
[Null]

[If: (Variable: 'VariableName') == (Null)]
  ...
[/If]
Examples

To check whether an [Action_Param] is empty:

Compare it against the value of the [Null] tag. The following example displays a message if the [Action_Param] named Username is empty.

[If: (Action_Param: 'Username') == Null]
  No username was specified.
[/If]
Result:
No username was specified.
Tag Link [Null] Category Tags
Type Substitution Data Source Any
Support Preferred Version 5.0
Output Type Null Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, 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