CodeView (cv.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Add Watch Expression (Description)
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The Add Watch Expression (W?) command displays one or more
     specified values in the watch window. CodeView updates the
     watch window to show new values each time the value of the watch
     expression changes during program execution.
 
     The watch window shows variables in the default C format for
     their type. To display a watch expression in a different format,
     type a comma after the expression, followed by a CodeView
     format specifier. You can also cast the expression to the format
     you want to use.
 
     CodeView always evaluates watch expressions according to the current
     radix and reevalutes watch expressions if the radix changes.
 
     For relational expressions, the watch window shows 0 if the
     expression is false, and 1 if the expression is true.
 
     See: Expressions
          Watch Window
          Format Specifiers
          Radix (N) Command-Window Command
                                    -♦-