Contents-15
Figure 6-4. CreateObject and GetObject ..............................................254
Figure 6-5. The Globals UserFunction.................................................256
Figure 6-6. Setting Up the MS Excel Worksheet ................................257
Figure 6-7. Adding the Title and Data to the Sheet..............................260
Figure 6-8. The Results Average Program ...........................................261
Figure 6-9. Excel Worksheet for “Results Average” Program.............262
Figure 6-10. Excel Worksheet for Array of Test Data .........................264
Figure 6-11. Program for Array of Test Data.......................................264
Figure 6-12. Program for On Your Own Exercise ...............................265
Figure 6-13. A VEE to MS Excel Program Example...........................266
Figure 6-14. Object Variables...............................................................269
Figure 6-15. Beginning of Lab 6-3 Program ........................................270
Figure 6-16. Adding the ActiveX Statements.......................................271
Figure 6-17. The Complete Program for Report in MS Word .............273
Figure 6-18. The MS Word Document Created by Lab 6-3.................274
Figure 7-1. The Execute Program Object (PC) ....................................281
Figure 7-2. The Execute Program Object (UNIX) ...............................283
Figure 7-3. Listing the Files in a Directory (PC) .................................286
Figure 7-4. Listing the Files in a Directory (UNIX).............................288
Figure 7-5. Using a Shell Command with a Pipe .................................289
Figure 7-6. System Information Functions...........................................290
Figure 8-1. The Main and ArrayStats Windows...................................299
Figure 8-2. Configuring the Pins for Call myFunction.........................300
Figure 8-3. Calling the User Function ArrayStats................................300
Figure 8-4. Editing the UserFunction ArrayStats.................................302
Figure 8-5. After Editing ArrayStats Output to a Record.....................303
Figure 8-6. Calling the ArrayStats User Function................................304
Figure 8-7. The Generate Menu in a UserFunction..............................306
Figure 8-8. Generating a Call Object ArrayStats(A) from a UserFunction
307
Figure 8-9. Program Explorer Icon on the Toolbar..............................307
Figure 8-10. Using the Program Explorer with UserFunctions............308
Figure 8-11. Report.vee from the Top Level........................................310
Figure 8-12. The BuildRecAry UserFunction ......................................311
Figure 8-13. The ReportHeader UserFunction.....................................312
Figure 8-14. The ReportBody UserFunction........................................313
Figure 8-15. The ReportDisplay Detail View.......................................314
Figure 8-16. The ReportDisplay Panel View .......................................315
Figure 8-17. The RepGen.vee Library of UserFunctions.....................316
Figure 8-18. Selecting a Function from an Imported Library ..............319
Figure 8-19. Calling a Function from a Library ...................................320