COMPILE TO FAST FORMS FILE [ USING VPLUS/V AN INTRO. TO FORMS DESIGN Self-Paced Training Guide ] MPE/iX 5.0 Documentation
USING VPLUS/V AN INTRO. TO FORMS DESIGN Self-Paced Training Guide
COMPILE TO FAST FORMS FILE
After your forms file is completely defined so that you expect no further
modifications, you can compile the file to a fast version. A fast forms
file uses only the compiled machine-readable version of the forms
definitions, thereby using fewer records. It also reduces the record
size to a minimum. As a result, this condensed forms file can be
executed significantly faster than a regular forms file.
A fast forms file is not, however, acceptable to FORMSPEC. Thus, it
cannot be modified. If you must modify your forms file after compiling
it to a fast forms file, you should use your original forms file and then
recompile it to the fast file.
Assuming you have run FORMSPEC and opened a forms file, the steps to
compile a forms file to a fast forms file are:
1. On the Main Menu, specify a X in the selection box and a name for
the fast forms file.
2. Press ENTER.
Action
Using the steps outlined above, compile the ORDFORM1 forms file to a fast
forms file called ORDFORMF. Figure 8-6 shows the values to enter on the
Main Menu.
When you press ENTER, the fast forms file is compiled. Although
compilation to this file may take longer than a normal compilation,
subsequent execution by ENTRY is faster.
___________________________________________________________________________
| |
| :RUN ENTRY.PUB.SYS |
| |
| HP32209v.uu.ff ENTRY (C) HEWLETT-PACKARD CO. 1986 |
| |
| ENTER FORMS FILE NAME AND PRESS RETURN: ORDFORMF |
| ENTER BATCH FILE NAME AND PRESS RETURN: DATA7 |
___________________________________________________________________________
Figure 8-7. Run ENTRY--The Next Sequential Record
MPE/iX 5.0 Documentation