An expression is a snippet of code that you can evaluate to produce a value. You may need to evaluate some expressions at a specific location in the program so that the Diagram Trace Utility can reference their values.
Expressions can be as complex as needed. Essentially, complex expressions can have unlimited lengths. The complexity of the expression is limited only by the availability of memory in the underlying Java virtual machine (JVM).
Watch expressions are expressions that are repeatedly evaluated as the program executes. You can use Watch expressions to implement Watch lists that show changes in the values of expressions as the program executes.
In expressions, operator precedence follows the standard arithmetic precedence. An expression can contain one or more combinations of the following operators:
String literals must be contained within double quotes (""). Text strings that are not contained within double quotes are assumed to be variable types instead of literal types. Arguments within double quotes are never evaluated.
The following list contains examples of different combinations of operators:
|
Copyright © 2013 CA.
All rights reserved.
|
|