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

228 Chapter6
USING VPLUS INTRINSICS
Error Detection
Error Detection
If a system or program error causes a VPLUS intrinsic to fail, an error code is returned to
the calling program. Once an error has been detected, subsequent intrinsic calls do not
perform any functions until the program detects the error and performs its own error
routine. In order for processing to continue after an error is detected, the calling program
must reset the error argument. This method of error handling means that intrinsic errors
do not cause unexpected program termination.
Table 6-1. Summary of VPLUS Intrinsics
INTRINSIC FUNCTION
VCHANGEFIELD Changes field attributes for specified fields at run-time.
VCLOSEBATCH Closes batch file.
VCLOSEFORMF Closes forms file.
VCLOSETERM Closes terminal file.
VERRMSG Returns message associated with error code.
VFIELDEDITS Performs field phase processing specifications.
VFINISHFORM Performs final phase processing specified for form.
VGETBUFFER Copies contents of data buffer into application.
VGETFIELD Copies field contents from data buffer into application.
VGETFIELDINFO Returns field information.
VGETFILEINFO Returns forms file information.
VGETFORMINFO Returns form information.
VGETKEYLABELS Returns global or form function key labels.
VGETLANG Returns the native language ID of the forms file being executed.
VGETNEXTFORM Reads next form into form definition area of memory; window and data
buffer are not affected.
VGETtype Copies field contents from data buffer to application, converting data to
specified type.
VINITFORM Sets data buffer to initial values for form.
VLOADFORMS Loads the specified forms into terminal local form storage memory.
VOPENBATCH Opens batch file for processing.
VOPENFORMF Opens forms file for processing.
VOPENTERM Opens terminal file for processing.
VPLACECURSOR Positions the cursor at a specified field after a form is displayed.