About Viewing and Changing Values

While debugging, you can view and change the values of variables or properties. Because you are making changes directly to a running script, you can affect the way the script executes by changing values in it. After changing values, you can continue with the script and see the effect of your change.

To view and change values, you use the Command window. You can evaluate any expression in the window and can enter script commands and see their effect. You enter commands in the language of the script currently executing. The following illustration shows how you can get the value of a variable using VBScript:

The following illustration shows the same scenario in JScript:

See Also

Viewing and Changing Values


© 1997 by Microsoft Corporation. All rights reserved.