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

262 Chapter6
USING VPLUS INTRINSICS
INTRINSIC DESCRIPTIONS
VREADFIELDS, lock the keyboard as soon as the terminal begins transmitting data when
triggered by the
Enter key or a function key.
VOPENTERM must be called before using this procedure. This procedure is intended only for
advanced programmers who are proficient with terminal control operations and VPLUS
terminal settings. Terminal keyboard operations, such as PREV PAGE and NEXT PAGE, can
be performed programmatically by sending the appropriate escape sequences to the
terminal via VBLOCKWRITE. VBLOCKWRITE can also be used to write large blocks of
unformatted text or multiple report lines in between uses of predefined VPLUS forms. To
ensure portability of the application from one driver to another, alteration of terminal
straps using VBLOCKWRITE is not recommended. See VTURNON and VTURNOFF for
information on how to switch between character mode and block mode without disturbing
the screen.
The following examples illustrate a call to VBLOCKWRITE using common programming
languages:
COBOL:
CALL “VBLOCKWRITE” USING COMAREA @BUF LEN TMODE LOC TC.
BASIC:
CALL VBLOCKWRITE(C(*),B1$,L1,M1,L(*),T1)
FORTRAN:
CALL VBLOCKWRITE(COMAREA,BUF,LEN,TMODE,LOC,TC)
SPL:
VBLOCKWRITE(COMAREA,BUF,LEN,TMODE,LOC,TC);
Pascal:
VBLOCKWRITE(COMAREA,BUF,LEN,TMODE,LOC,TC);