Expressions view

Expressions view lets you evaluate and examine the value of expressions.

To evaluate an expression

  1. On the Run menu, click Add Expression (C/C++) (or, in the C/C++ Editor, right-click and click Add Expression). The Add Expression dialog opens.
  2. Enter the expression you want to evaluate (for example, (x-5)*3 ).
  3. Click OK.

    The expression and its value appear in Expressions view. When the execution of a program is suspended, the IDE reevaluates all expressions and highlights the changed values.

Copyright IBM Corporation
 2000, 2002. All Rights Reserved.