Sample Programs [ High-Level Screen Management Intrinsic Library (Hi-Li) Reference Manual ] MPE/iX 5.0 Documentation
High-Level Screen Management Intrinsic Library (Hi-Li) Reference Manual
Sample Programs
The following is a sample application program that illustrates how the
various Hi-Li intrinsics are used to develop an interactive application.
The same program is developed for three of the languages supported by
Hi-Li: COBOL, FORTRAN, and Pascal.
This sample application collects transactions concerning deductions from
an employee payroll and places the edited transactions into a file. Each
transaction entered by the operator is subject to the data edits embedded
within the input form. The application continues to collect transactions
until the operator exits the program or a system error is detected.
Keys are defined as follows:
Enter key = edit and file transaction
F1 = exit application
All other f keys = redo transaction
The application has the following structure:
Figure C-1. Structure of the Application Program
MPE/iX 5.0 Documentation