| Purpose | The <expr> clause is used to perform calculations as part of the <eval> statement. | |||
| Format |
<expr> {expression} </expr>
{expression} |
an expression that can be calculated. It may contain mathematical operators and calculation functions. |
|
|
| Example #1 |
<eval> <expr>5 + 6</expr> </eval> yields 11 |
|||
| Example #2 |
<eval> <parm type="string" name="a">atom</parm> <expr>len(a) < 5</expr> </eval> yields true |
|||
| Example #3 |
<eval> <parm type="string" name="a">atom</parm> <expr>(len(a) + 5) < 5</expr> </eval> yields false |
|||