...
Way 1:
From the Solution Explorer tree, navigate to the Active Solution > Globals > variables node.
Right-click the variables node and select Create Variable from the pop-up menu.
Choose a variable name, a data type and optionally choose an initial value and click OK. The variable declaration will be generated in the globals.js file, which will be opened in the Script Editor.
Way 2:
From the Solution Explorer tree, navigate to the Active Solution > Globals > variables node.
Highlight the variables node and click the Create Variable button from the lower toolbar in the Solution Explorer.
Choose a variable name, a data type and optionally choose an initial value and click OK. The variable declaration will be generated in the globals.js file, which will be opened in the Script Editor.
...
...
...
...
...