|
Navigation: Program Reference > Scripting and Variables > Global Variables Declaration |
|
Global variables are the variables that you can access from every item of your project. When you change a global variable's value, every string, numeric or logic expression that uses it will be updated. Also, the variables associated to dialogs' controls must to declared as global variables.
To declare a global variable go to Global Variables' Declaration editor, select Actions > Global Variables' Declaration menu command. Then, select Editor > Add Global Variable menu command.
The available properties for Global Variables are:
Name |
The name that identifies the variable. |
Type |
The type of current variable. |
Value |
The initial value of the variable. |
To change the value of the global variables you must use the Variables' click-script actions. For further information about these actions, read the Variable's Actions topic.