About ST eScript Engine Warnings
The Siebel eScript displays warnings that notify you of the following potential problems that might occur if you deliver your custom script:
Referencing a method or property that is not predefined
Referencing an undeclared identifier
Using a variable before it initializes this variable
Using a redundant declaration of an untyped variable
Calling a function that includes an insufficient number of arguments
These errors might cause a run-time failure. You can use these warnings to help fix errors before you deliver your script. To enable or disable the Enable Warnings option, see Setting Options for eScript.
Example of a Warning Message
The following code is an example of a compile warning message that Web Tools creates after a run-time failure:
function foo(a)
{
var oApp: Application;
oApp.myMethod ();
return;
}
foo ();
Semantic Warning around line 5:Variable oApp might not be initialized.
Semantic Warning around line 5:No such method myMethod
Semantic Warning around line 10:Calling function foo with insufficient number of arguments.
Unhandled Exception: Function expected