Difference between revisions of "NsName"

From Wiki
Jump to: navigation, search
 
 
(5 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}}
+
 
  
 
==== Example ====
 
==== Example ====
 
<pre>
 
<pre>
  
 +
if #nsName <> test && #nsType = local
 +
{
 +
  namespace push
 +
  namespace local test
 +
}
  
 
</pre>
 
</pre>
==== See Also ====
+
 
{|
+
=See Also=
| Width=200px |
+
{{Namespace Variables}}
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Namespace_Variables|Namespace System Variables]]
+
|}
+

Latest revision as of 10: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