Lasso Soft Inc. > Home

[Global_Defined]

Returns True if the specified variable is defined as a server-wide global variable or False otherwise. This tag functions identially to the [Local_Defined] or [Variable_Defined] tags except checks on the status of global server-wide variables.

  • Syntax
  • Parameters
[Global_Defined: 'GlobalVariableName']
Required Parameters
Variable Name The name of the variable whose existence should be checked.
Examples

To check whether a global variable is defined:

Use the [Global_Defined] tag. The following example checks whether a global variable named 'MyGlobal' is defined.

[If: (Global_Defined: 'MyGlobal')]
  The global is defined.
[Else]
  The global is not defined.
[/If]
Result:
True
Tag Link [Global_Defined] Category Variable
Type Substitution Data Source Any
Support Preferred Version 6.0
Output Type Boolean Security Tag
Implementation LDML Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.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