Jump to content
Tom Wellige

4.5 - Properties - Namespace

Recommended Posts

This property set the name of a namespace if the Scope if the persistent variable is set to SCOPE_NAMESPACE.

 

The given name may contain any characters. It has a maximum length of 128 characters. Longer strings will be truncated.

Dim Welcome
Set Welcome       = new PersistentVariable
Welcome.Name      = "Welcome"
Welcome.Scope     = SCOPE_NAMESPACE
Welcome.Namespace = "Support"

 

The above example defines a persistent variable Welcome in the namespace Support. All scripts defining the same namesapce will be able to access this variable.

 

Another persistent variable Welcome in a namespace Sales will not interfere.
 

 

Index

<< Previous 4.4 - Properties - Scope

>> Next 4.6 - Properties - UserID


 

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.