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

2- 7
Table 2-3. Language Call Formats
---------------------------------------------------------------------------------------------
| | |
| Language | Intrinsic Call Format |
| | |
---------------------------------------------------------------------------------------------
| | |
| COBOL | CALL "intrinsicname" USING parameter1 |
| | parameter2 |
| | parameter3 |
| | . |
| | . |
| | . |
| | |
| | parametern. |
| | |
---------------------------------------------------------------------------------------------
| | |
| FORTRAN | CALL intrinsicname (parameter1, parameter2,.|.)
| | |
---------------------------------------------------------------------------------------------
| | |
| Pascal | intrinsicname (parameter1, parameter2,...); |
| | |
---------------------------------------------------------------------------------------------
To ensure consistency among calls from different programming languages,
the following rules apply to all parameters:
* Parameters are passed by reference. This means that a literal value
cannot be used as a parameter.
* No condition codes are returned. The status of the call is returned
in a status word included as part of the RETURNPAK parameter.
* Return type intrinsics are not allowed. Any values returned by the
intrinsic are sent as passed parameters.
Hi-Li Dependencies and Rules
The following is a list of rules and dependencies that must be followed
and observed when you use the Hi-Li intrinsics.
1. A forms file must be open before you can print the form.
2. A forms file must be open and your terminal must be enabled before
you can use the HPDSEND, HPDREAD, and HPDPROMPT intrinsics.
3. The HPDGETENV and HPDSETENV intrinsics have guidelines you must
follow that depend on the value you give the MODE parameter. See
the HPDGETENV and HPDSETENV intrinsics in Chapter 3 for
information about these guidelines.
4. The HPDGETDESIGN intrinsic is not compatible with any of the other
Hi-Li intrinsics. This is because the other intrinsics depend on
the form referenced by the HPDSEND intrinsic. This form and the
form referenced by HPDGETDESIGN may be different. Because of
this, you must define a separate GLOBALPAK parameter that you use
only with HPDGETDESIGN; you cannot call this intrinsic using the
GLOBALPAK parameter that you pass to the other intrinsics.