The downloadable ZIP file contains a simple but very flexible Ada
Menuing program. This program was written and tested using
GNAT 3.11p on a PC running windows 95. I believe it will also
work well on a UNIX or LINUX system.
This program illustrates calling C libraries from an Ada program.
The operational concept for this program is as follows:
The menuing program reads a file named on the program command
line. The file contains menu prompts and menu actions, separated by
a colon (:). Each menu action must be a separate program. The menu
program always adds an "Exit Menu" prompt after all items read from
the file named on the command line.
|