User`s guide

538 VEE User’s Guide
Appendix
Figure 305 Manipulating Records, Step 2
Key Points
Using a Conditional Expression: VEE supports a conditional
expression, which provides an efficient way to implement an
if- then- else action. The conditional expression in this Formula
object is known as a triadic. It is (a.rand < 0.5? a.rand:
"More than 0.5"). Notice that it is all one expression, and
you can write it with line breaks in the Formula object as
shown. If there were more than one expression in the Formula
object, the expressions would be separated with semi- colons
(;).
The Sub Record Object: Notice the Text array of the fields on
the Sub Record input pin labeled fields. When you configure the
Sub Record object to include fields, it will output a record that
only contains the fields specified.
Manipulating Records, Step 3