Chapter 8 311
Using Agilent VEE Functions
Using Libraries With Agilent VEE UserFunctions
Note The Call object does not require parentheses when referring to a
UserFunction. If you were calling the function from a Formula object,
you would need to include parentheses whether or not the function used
parameters.
The four
UserFunctions are a library. You can see them listed by clicking
Edit ⇒ Edit UserFunction.... Click Cancel to close the list box.
2. Program the four
UserFunctions as shown in the following figures.
Figure 8-12 shows the
BuildRecAry UserFunction. It includes a
Formula object with the triadic expression testing if A<=5. If the
expression evaluates to
TRUE, then the object outputs "PASS".
Otherwise, the object outputs
"FAIL". (Note that the parentheses are
required.)
Figure 8-12. The BuildRecAry UserFunction