Difference between revisions of "NsType"

From Wiki
Jump to: navigation, search
 
(8 intermediate revisions by 3 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]]. The value will be either [[Namespace local|local]] or [[Namespace global|global]]
 
  
''Note: Global namespaces are not currently supported.''
+
{{Note|Global namespaces are only available in EasyUO 1.5.}}
 +
 
  
 
==== Example ====
 
==== Example ====
Line 19: Line 15:
  
 
</pre>
 
</pre>
==== See Also ====
+
 
{|
+
=See Also=
| Width=150px | [[Var_nsName|&#0035;nsName]] ||  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 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