OAn
6 years agoContributor
Declare and initialize a global variable
Environment: TestComplete 14.30.3743.7 x64 with Delphi script
At function level a variable can be declared and initialized at the same time: the syntax is as follow
var i:integer=8;
Using the same syntax for a global variable will lead to a TC syntax error. Does anyone know if it is possible to initialize a global variable with a default value? or, is this allowed within the above mentioned environment?