Lasso Soft Inc. > Home


[Lasso_TagExists] returns True if the specified tag is currently defined or False otherwise.

Note: [Lasso_TagExists] will not return True for internal tags such as those listed below. These tags are implemented directly in the LDML parser for better performance.

The internal tags include: [Abort], [Define_Tag] ... [/Define_Tag], [Define_Type] ... [/Define_Type], [Encode_Set] ... [/Encode_Set], [Fail], [Fail_If], [False], [Handle] ... [/Handle], [Handle_Error] ... [/Handle_Error], [If] ... [Else] ... [/If], [Iterate] ... [/Iterate], [Lasso_Abort], [Loop] ... [/Loop], [Loop_Abort], [Loop_Count], [NoProcess], [Params], [Protect] ... [/Protect], [Return], [Run_Children], [Select] ... [Case] ... [/Select], [Self], [True], and [While] ... [/While].

  • Syntax
  • Parameters
[Lasso_TagExists: 'Tag Name']
Required Parameters
Tag Name The name of the tag to be checked.

To check whether a tag exists before calling it:

Use the [Lasso_TagExists] tag to check that the tag exists. The following example checks that the [NSLookup] tag is defined before calling it.

[If: (Lasso_TagExists: 'NSLookup')]
  [NSLookup: '']
Tag Link [Lasso_TagExists] Category Admin
Type Substitution Data Source Any
Support Preferred Version 3.0
Output Type Boolean Security None
Implementation Internal Sets Lasso 7.0, Lasso 6.0, Lasso 5.0,LDML3x

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