Re:Variable Operations Hello,
Variable Operations supports expressions, calculations as well as date arithmetic. You can use Variable Operation command to work with the variable assignment. You can assign the value to a variable. The right hand side of the equal to operator can be a regular operation for e.g. you can specify something like $var1$ = ( $var2$ + $var5$ - 10 ) / 5.
This command supports (, ), /, *, + and - operands. The left and right parentheses take the precedence and the operation within them is evaluated first from left to right.
In the subsequent example ($Var1$ + 5) * ($Var2$ -10), ($Var1$ + 5) will be evaluated first, then ($Var2$ -10) and the result of both will be multiplied together and assigned to the variable specified on the left hand side of the equal to sign.
Using Variable Operation command you can increment the value of a variable by one without using $Counter$, convert the value of a variable into thousands, get yesterday's date as a variable and much more. |