User`s guide

448 VEE User’s Guide
12 Optimizing Agilent VEE Programs Chapter
Figure 256 Function Calls with Optimization
Other Ways to Optimize Agilent VEE Programs
There are other optimization techniques that you can use in
programs when appropriate, as follows:
Make sure you are using the VEE compiler by running your
programs in VEE 4 or higher Execution Mode. For more
information, refer to
“Agilent VEE Execution Modes” on
page 460.
Run the program from the panel view instead of the detailed
view. VEE will have less objects to maintain on the screen.
Use global variables rather than pass values (especially large
arrays or records) into and out of UserObjects and
UserFunctions. Declare all the global variables. This also
allows you to use local variables. See Data
Variable
Declare Variable.