CHAPTER 1: Introduction



1.1 What is Empress 4GL?

Empress 4GL is an application development environment containing a fundamental programming language and a set of tools to help you develop your application quickly.

The Empress 4GL language is an event-driven language which uses the following basic structures as building blocks to construct complex applications which may be used as prototypes or finished products.

The Empress 4GL development tools consist of:



1.2 Capabilities of Empress 4GL

Using Empress 4GL you can design and run applications that may access Empress databases. Your application may be simple, allowing you to retrieve information from a single database table, or it may be sophisticated, accessing several databases and processing the data in complex ways. In addition, an application can act as a menu interface to the operating system and to Empress database.

Empress 4GL offers several advantages as a design environment. It is easy to use, it improves productivity, and your applications will be easy to maintain and enhance. It is particularly useful for the development of screen-intensive applications. The facilities for screen control that you will be using are centered on two powerful concepts: screen painting and windowing.

If you wish to use Empress 4GL to do simple Query Language operations on a database table, you can generate a default application for the table of your choice. Empress 4GL will create an application that will allow you to select, update, delete and insert records in the table.

If you wish to design a more sophisticated application, Empress 4GL provides a simple language with which you can write scripts to do the processing you require. With scripts, you can access tables in databases, do computations and comparisons on the data, create and control windows, and effectively do anything you could do with another programming language.



1.3 Features of Empress 4GL

The programming language of Empress 4GL is used to write scripts that allow the application to respond to user or system events. Some example are: pressing a function key, moving between fields in a window, and responding to errors and operating system signals.

Empress 4GL provides: