HP Data Entry and Forms Management System (VPLUS) Reference Manual (32209-90024)

374 Chapter7
USING FORMSPEC IN BATCH MODE
BATCH MODE COMMANDS
COMPILE
Compiles the current forms file.
Syntax
COMPILE [INTO
fastfile
]
Parameters
fastfile
is the name of the fast forms file to which all code records are copied. Since
a fast forms file contains only records needed by VPLUS/V intrinsics at
run-time, it may be advantageous to compile the forms file into a fast
forms file. If
fastfile
already exists and it is a fast forms file, it is
replaced with this version. If
fastfile
already exists and it is not a fast
forms file, an error occurs. The current forms file still compiles, but the
code records are not copied to a fast forms file. If
fastfile
does not exist,
it is created for you as a fast forms file.
Discussion
Normally the COMPILE command only compiles the forms that have been modified in the
current forms file. However, when certain global attributes (such as save fields) are
modified, all forms in the current forms file are compiled. The fast forms file, if specified,
contains code records for all forms in the current forms file.
Example
COMPILE
compiles the current forms file.
COMPILE INTO INVFFORM.PUB
compiles the current forms file and creates a fast forms file named INVFFORM in the PUB
group.