Global Variables
Posted by Angham Al-Banawien, Last modified by Diana Alkouni on 24 August 2020 10:43 AM

Global Variable:  It is a variable that you declare to appear in popup when running a VTL script to allow the user to change its value directly without the need to modify the script from the code.

How to declare a global variable :

  • You have to consider the following when defining the global variable:
    1- The variable must be declared on the beginning of the script and outside any function.
    2- It must be declared  without any reserved words such as (Dim , public , Const).
    3- The variable must have an initial value.

For example

   Variable1 = "Test"

   Variable2 = 100

   Variable3 = True

GlobalVariable

 

 

(3 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions