Using inline expressions for simple equations
When you are coding an expression in the visual snippet
editor, there are several ways that you can compose the expression.
Most expressions can be represented diagrammatically in one of
the following two ways:
- Inline expressions
- In this case, the equation is coded directly into the expression
using the inline condition builder. The finalized form appears like
the one shown in this screen capture:

- Prebuilt expressions
- Prebuilt expressions can either be in the form of a Standard visual snippet or a Java™ visual snippet. In both cases, the snippet contains specialized code that will perform the simple equation in question.
Of these two options available to you, the best practice is to use an inline expression when coding simple equations.
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15