WC number|*
number
Deletes the watch expression with this number.
*
Deletes all watch expressions.
The Delete Watch Expression (WC) command removes a watch expression from the Watch window.
When you set a watch expression, CodeView automatically assigns it a number, starting with 0 for the first watch expression in the window. Use the List Watch (WL) command to view the numbers of current watch statements.
In addition to typing the WC command, you can use the following shortcuts to delete watch expressions:
From the Data menu, choose Delete Watch.
Select the Watch window, move the cursor to the watch expression, and press CTRL+Y.
The following example deletes watch expression 2 from the Watch window:
>WC 2
The following example deletes all watch expressions from the Watch window:
>WC *