Expression evaluator
Calculate the result of an expression with integers, decimals, numeric variables,
string variables for string comparisons, arithmetic and Boolean operators, or a set of
functions.
Input
Property | Description |
|---|---|
Expression | The expression to be calculated. To add variables to the expression, enter consecutive numbers or unique strings
starting with # in braces {} . For example, enter
{0} and then enter {1} later in the
expression. Fill {#} Dynamic linkThe expression can contain an unlimited number of correctly opened and closed
braces {} . If the expression does not follow the correct syntax,
the converter does not perform the calculation. |
Dynamic link mode |
|
Dynamic link | One or more variables identified by:
TIP:
Use any combination of placeholders in any order. Use any number of placeholders in the expression.
This property is available only for converter
instances and not converter types. |
Output
The resulting value of the expression.
Examples
The following are examples of expression evaluator instances.
Return the absolute value of a variable

If variable value is higher than 40, toggle the visibility of a graphic
object

If variable value is higher than 50, change the background color of a graphic object
to blue

If variable value is between 30 and 40, blink the green led object when active

If text box border color is red, enable the button

If the label text equals to "WARNING", change the label text color to red

expression
expression evaluator
Provide Feedback


