High-Level Screen Management Intrinsic Library Reference Manual (32424-90002)
3- 2
parameters are common to most of the intrinsics, a discussion of their
uses and their subparameters is given here. Refer to this section when
you need information about how to use the
globalpak
and
returnpak
parameters.
GLOBALPAK
Provides the mechanism for information exchange among Hi-Li intrinsics.
Parameter Descriptions
expectedvuf An eight-byte character array that indicates
the revision level of the intrinsics expected
by the application. It should be in the format
v.uu.ff, and may contain the value A.00.00.
callprotocol A four-byte integer that indicates how the data
passed to the intrinsic is addressed. An
identifier specific to the programming language
used is assigned:
100 = BASIC/V
110 = HP Business BASIC/V
000 = COBOL II/V
200 = FORTRAN 66/V
210 = HP FORTRAN 77/V
500 = Pascal/V
300 = SPL/V
600 = Transact/V
comarealen A four-byte integer that indicates the size in
bytes of the communications area allocated by
the application.
comarea An array that represents the area reserved by
the application for communications between the
intrinsics. A minimum of 300 bytes must be
allocated for the
comarea
, and this area MUST
be initialized to binary zeros before the first
intrinsic call.
Discussion
The
globalpak
parameter allows the Hi-Li intrinsics to communicate with
one another. Your application should initialize
globalpak
ONCE before
the first Hi-Li call;
globalpak
must remain untouched by the applica-
tion thereafter.
The
comarea
must contain a minimum of 300 bytes. It should be
initialized to binary zeros once, after which it must not be used by your
application; Hi-Li handles the
comarea
for you.
The
callprotocol
parameter tells Hi-Li the particular programming
language you are using. Once set, Hi-Li expects all calls to be in that
language's format.
The
expectedvuf
parameter tells Hi-Li what version of its software you