Difference between revisions of "NsType"

From Wiki
Jump to: navigation, search
(Description: Fixed broken link and note.)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{header|Namespace Variables|ro|Holds the type of the currently active [[nameSpace local|local]] or [[NameSpace global|global]] namespace.}}
== #nsType ==
+
'''Namespace System Variables'''
+
=== Description ===
+
{{ro}}
+
  
Holds the type of the currently active [[namespace local|local]] or [[Namespace global|global]] namespace.
 
  
''Note: Global namespaces are only available in EasyUO 1.5.''
+
{{Note|Global namespaces are only available in EasyUO 1.5.}}
 +
 
  
 
==== Example ====
 
==== Example ====
Line 20: Line 16:
 
</pre>
 
</pre>
  
=== See Also ===
+
=See Also=
{|
+
{{Namespace Variables}}
| Width=200px | [[nameSpace local]] || Width=200px | [[nameSpace global]] || Width=200px | [[nameSpace clear]] || Width=200px | [[nameSpace push]] || Width=200px | [[nameSpace pop]] || Width=200px | [[nameSpace copy]] || Width=200px | [[Var nsName|#nsName]]
+
|}
+
----
+
{|
+
| 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 type 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