simon_glet
12 years agoRegular Contributor
Turn off JScript implicit variable declaration
Greetings,
JScript has the annoying feature to implicitly allow variable declarations. Like VB without the Option Strict or Explicit.
The problem is that a mistyped variable becomes a new one ... automatically. Not good.
On the Microsoft JScript site there is a mention of a fast mode that raises an exception during compilation if a variable is used without explicit declaration.
Is there a way with TestComplete to configure that ?
Thanks
JScript has the annoying feature to implicitly allow variable declarations. Like VB without the Option Strict or Explicit.
The problem is that a mistyped variable becomes a new one ... automatically. Not good.
On the Microsoft JScript site there is a mention of a fast mode that raises an exception during compilation if a variable is used without explicit declaration.
Is there a way with TestComplete to configure that ?
Thanks
Hi Simon,
The article you sent describes the approach for JScript.NET. TestComplete uses JScript for Windows Script Host. So, it won't work here.