Difference between revisions of "NsType"

From Wiki
Jump to: navigation, search
 
Line 4: Line 4:
 
=== Description ===
 
=== Description ===
 
{{ro}}
 
{{ro}}
 +
 +
Holds the type of the currently active namespace. The value wil be either Local or Global
 +
 +
''Note: Global namespaces are not currently supported.''
  
 
==== Example ====
 
==== Example ====
 
<pre>
 
<pre>
  
 +
if #nsName <> test && #nsType = local
 +
{
 +
  namespace push
 +
  namespace local test
 +
}
  
 
</pre>
 
</pre>
 
==== See Also ====
 
==== See Also ====
 
{|
 
{|
| Width=200px |  
+
| Width=200px | [[Var_nsName|&#0035;nsName]]
 
|}
 
|}
 
----
 
----

Revision as of 19:26, 10 August 2005

#nsType

Namespace System Variables

Description

Holds the type of the currently active namespace. The value wil be either Local or Global

Note: Global namespaces are not currently supported.

Example


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

See Also

#nsName

Main_Page Documentation Namespace System Variables