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

Chapter 6 239
USING VPLUS INTRINSICS
COMMUNICATION AREA
function key pressed at a standard terminal, the last field touched for a
touch terminal, or the last key pressed for data capture devices. The value
returned can be interpreted as follows:
For standard terminals, 0-8 is returned:
0 = ENTER
1 -8 = f1-f8
For touch, in addition to 0-8, -256 to -1 (or -999) is returned:
-1 to -256 = field number of touched field
-999 = no field in area touched by user
For data capture devices, - 1 to 26 is returned:
-1 = Attention key
0 = enter
1-26 = A-Z
numerrs
Two-byte integer set to the number of errors found when a form is edited
according to FORMSPEC edit specifications.
windowenh
Two-byte integer in which the right byte contains a USASCII code for the
window line enhancement. The code specifies any combination of
enhancements according to Table 6-6.; zero indicates no enhancement. For
example, to indicate Half -Bright, Inverse Video,
windowenh
is set to the
character J.
Specifying an enhancement code with
windowenh
is independent, and in
addition to, any color enhancement specified with FORMSPEC.
On data capture devices any enhancement except blinking is ignored. The
entire display blinks, not just the field in error.