JavaScript Editor Ajax toolkit     Ajax website 

Main Page

The program uses an eval statement and is compiled with fast mode turned off.

When fast mode is turned off, the eval statement allows new variables to be declared at runtime with local scope. These new variables can shadow the global variables, which makes any reference to a variable not explicitly defined in the local scope potentially ambiguous.

To correct this error

  1. Compile with the fast option on.

  2. Avoid using the eval statement.

  3. Use only the variables available in the current local scope.

See Also


eval Method (JScript)


Troubleshooting Your Scripts

Other Resources

JScript Reference

JavaScript Editor Ajax toolkit     Ajax website