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

Appendix L 659
A Programmer’s Guide to VPLUS
VPLUS Intrinsic Calls
VCLOSETERM
Purpose: to close the terminal file and reset the terminal out of block mode.
This takes the terminal out of block mode and resets the straps. VCLOSETERM only partially
restores the terminal’s configuration. One of the things that it does not do is to restore user
function key labels.
If a VPLUS application terminates abnormally, VCLOSETERM is not done. Therefore, the
terminal is not taken out of block mode and echo is not turned back on. Generally, a hard
reset and an “e :” can reset the terminal back to a usable state.
VCLOSEFORMF
Purpose: to close the formsfile.
In all languages except BASIC/3000, VCLOSEFORMF releases stack space allocated by the
VOPENFORMF intrinsic. The stack space released was for the comarea extension. In
BASIC/3000, since the comarea extension is declared as a global variable, the space is not
released with a call to VCLOSEFORMF.
In addition, VCLOSEFORMF performs an FCLOSE on the formsfile.