Jump to content
  • 4.5 - Namespace

    4.5 - Namespace

    VBScript

     

    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 MyVariable
    Set MyVariable       = new PersistentVariable
    MyVariable.Name      = "Welcome"
    MyVariable.Scope     = SCOPE_NAMESPACE
    MyVariable.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.

     

     

     


    Tom Wellige
     Share


     Share




×
×
  • 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.