Difference between revisions of "NsName"

From Wiki
Jump to: navigation, search
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{header|Namespace|ro|Holds the name of the currently active [[nameSpace local|local]] or [[NameSpace global|global]] namespace.}}
+
{{header|Namespace Variables|ro|Holds the name of the currently active [[nameSpace local|local]] or [[NameSpace global|global]] namespace.}}
 +
 
 +
 
 +
{{Note|Global namespaces are only available in EasyUO 1.5.}}
 +
 
  
 
==== Example ====
 
==== Example ====
Line 12: Line 16:
 
</pre>
 
</pre>
  
{{footer}}
+
=See Also=
 +
{{Namespace Variables}}

Latest revision as of 09:23, 7 September 2007

Holds the name of the currently active local or global namespace.


Note: Global namespaces are only available in EasyUO 1.5.


Example


if #nsName <> test && #nsType = local
{
  namespace push
  namespace local test
}

See Also

Namespace Variables

#nsName Returns the name of the currently active namespace
#nsType Returns the type of the currently active namespace