Difference between revisions of "NsName"

From Wiki
Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{header|Namespace Variables|ro|Holds the name of the currently active [[nameSpace local|local]] or [[NameSpace global|global]] namespace.}}
== #nsName ==
+
 
'''Namespace System Variables'''
+
 
=== Description ===
+
{{Note|Global namespaces are only available in EasyUO 1.5.}}
{{ro}}
+
  
Holds the name of the currently active namespace.
 
  
 
==== Example ====
 
==== Example ====
Line 17: Line 15:
  
 
</pre>
 
</pre>
==== See Also ====
+
 
{|
+
=See Also=
| Width=150px | [[Var_nsType|&#0035;nsType]] ||  Width=150px | [[nameSpace local]] || Width=150px | [[nameSpace global]] || Width=150px | [[nameSpace clear]] ||  Width=150px | [[nameSpace push]] ||  Width=150px | [[nameSpace pop]] ||  Width=150px | [[nameSpace copy]]
+
{{Namespace Variables}}
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Namespace_Variables|Namespace System 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