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

244 Chapter6
USING VPLUS INTRINSICS
COMMUNICATION AREA
and windows to support local form storage, but only the
first terminal port can be used.
The
formstoresize
allows the user to control the number of entries
allowed in the form storage directory on the user stack and must be set
prior to opening the terminal and the forms file. The space required is
listed on the forms file listing generated by FORMSPEC.
When designing forms for local form storage terminals, keep in mind that
large forms need a substantial amount of terminal display memory. For
forms that are greater than 24 lines, so much terminal display memory
may be used that insufficient terminal memory is available for form
storage. If so, VPLUS resets
formstoresize
to zero and no local form
storage is performed.
numrecs
Four-byte integer that contains the number of nondeleted records in the
current batch file. It is used by the V..BATCH intrinsics.
recnum
Four-byte integer set to the current record number in the batch file. (Note
that record numbers start with zero.) The
recnum
must be set by the
program before writing to or reading from the batch file. It is used by the
VREADBATCH and VWRITEBATCH intrinsics.
filen
MPE file number used to identify the terminal.
retries
Maximum number of retries.
value = 0 Use default value (four retries)
value > 0 Use this value as maximum
value < 0 do not perform any retries
termoptions
Terminal control options:
bits
0-8 reserved for system use
9-10 01 = enables
ENTER /function key timeoutin VREADFIELDS.
11 or 00 = disables
ENTER /function key timeout in
VREADFIELDS. (default)
11-12 10 = do not clear the screen at terminal open or close.
13-14 01 = enables AUTOREAD in VREADFIELDS. 11 or 00 =
disables AUTOREAD. (default)
(AUTOREAD causes the terminal to do a programmatic enter
instead of waiting for the user to press
ENTER.)
15 0 = Sound bell as usual, (default)
1 = Suppress bell.
NOTE
In programming languages which do not have the capability of setting single
bits, programmers should add or subtract appropriate amounts to change
single bits. For example, if
termoptions
was initialized entirely to zeros and