High-Level Screen Management Intrinsic Library Reference Manual (32424-90002)

3- 17
Discussion
HPDGETENV is a special-purpose intrinsic meant for advanced programming
applications. It allows your application to retrieve information about
the current environment. You can request information about the
environment for the following five elements:
1. Library version - This allows your application to determine which
version of Hi-Li software is installed.
2. Native language identification - This allows your application to
retrieve the NLS code assigned to the open forms file.
3. Auto Test - This allows you to determine if terminal interaction
is executing in auto test mode.
4. Device token - This allows you to receive particular information
about the open terminal. If the terminal you are querying is not
enabled, the information returned is undefined.
5. Form token - This allows you to receive particular information
about the current form.
HPDOPENFORMS
Opens a forms file.
Syntax
HPDOPENFORMS
globalpak, returnpak, formsfile
Parameter Descriptions
globalpak
A compound parameter that passes information
between intrinsics. For a complete description
of this parameter, see "Global Parameters" in
Chapter 3.
returnpak
A compound parameter that passes information
back from the intrinsic to the application.
For a complete description of this parameter,
see "Global Parameters" in Chapter 3.
formsfile
An 88-byte character array that indicates the
name of the forms file you want to open. This
information is passed to the intrinsic.
Discussion
HPDOPENFORMS opens the forms file and sets up the communications area
within the
globalpak
parameter, if it has not already been done.