Using Expressions
This section shows you how to:
•
•
•
•
•
•
•
To calculate the value of a C expression
• Enter the expression in the entry buffer, then select Display→C Expression ().
Or:
• Using the command line, enter:
Expression C_Expression
Enter the C expression to be calculated, and press the < Return> key.
The value of the C expression is displayed in the journal window.
If the C expression is an assignment statement, the Expression C_Expression
command sets the value of the C variable.
Examples
To calculate the value of 'old_data':
Calculate the value of a C expression.
Display the value of an expression or variable.
Monitor variables.
Discontinue monitoring specified variables.
Discontinue monitoring all variables.
Print formatted output to a window.
Print formatted output to journal windows.
Chapter 4: Viewing Code and Data
Using Expressions
151