Program driven applications
The third type of application is the most sophisticated.
Superbase starts up, and starts running code that never ends
until the program ends. During it's execution, the code is
always running, unless the user is in data entry mode (commonly
called ENTER mode in older apps) or the user has the cursor
visible on the screen (also known as ENTER mode). During these
times, Superbase temporarily stops executing the code and
instead waits for the user interaction to occur. Once some
predefined objective is met, Superbase passes control back
to the code, and the code keeps executing.
It's important to note that in this type of program, the
code is always looping, executing, doing something, or temporarily
suspended inside of the ENTER command waiting for data entry
to terminate. This is important because the ENTER mode of
operation in the older style of Superbase is the SINGLE BIGGEST
MENTAL BLOCK that people have with migrating applications
forward, or maintaining existing ones. In a Superbase program
driven application, the code is always executing, except during
ENTER mode.
In version 3 applications, ENTER mode was superceeded with
a new mode call Process() and process() was designed overcome
all of the limitations of ENTER mode, while being partially
backwards compatible with it.
In order to write a Multiple Windows Superbase application,
you cannot use ENTER mode and instead must learn how to use
Process() mode for a program driven application.
|