Chapter 5 229
Storing and Retrieving Test Results
Using Records to Store Mixed Data Types
Note You could also use a Formula object with A.data in the expression field.
5. Select an
AlphaNumeric display, size it to accommodate an array, and
connect it to the
rec.field output pin.
6. Run the program and save it as
setfield.vee. The program should
look like Figure 5-12.
Figure 5-12. Using the Set Field Object
You can modify any Record fields as shown in this example. You could
also modify part of the field. For example, try changing the expression in
rec.field = b to rec.data[1]=20. Then delete the rec.field = b
input
b. Run the program again and you should see the array: 2.2, 20, 4.4,
5.5.