LassoScript Utility
Basics Browse Detail


Tag Link [Null] Category Tags
Type Substitution Source Available No
Support Preferred Version 5.0
Change Unchanged Data Source Any
Output Type Null Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0


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



[If: (Variable: 'VariableName') == (Null)]


No Parameters Required.


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.

No username was specified.