Jump to content
Gold Sponsor: Data-Way IT-Consulting, Austria

  • 5.3 - SCOPE_GLOBAL

    5.3 - SCOPE_GLOBAL

    VBScript

     

    This is a VBScript constant defined to the value of 3. This constant will be used to set the Scope of a persistent variable to the global scope.

     

    Variables in the global scope are visible/accessable for all scripts of all users.
     

    This is the default scope of every new persistent variable if being used outside a call routing script (new in v1.1.0). If being used inside of a call routing script SCOPE_USER is the default scope.

     

    Dim MyVariable
    Set MyVariable   = new PersistentVariable
    MyVariable.Name  = "Welcome"
    MyVariable.Scope = SCOPE_GLOBAL

     

    The above example defines a persistent variable in the global scope. This variable is visible and accessable for all scripts of all users.

     

     


    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.