Screen design and user interface
Before we delve into the details of how a Pascal program
can be modified to make it
controllable from a WWW client, let us look into what kind of
control panel we can present the user with. All the components
of the panel have to conform to the
HTML
syntax and be built with elements that can be displayed
by a regular viewer that can handle
forms.
Now, even text-oriented viewers can handle forms reasonably well,
e.g. the
Lynx viewer.
One can therefore base a WWW tool on the use of forms without reducing
by much the generality of the tool.
One of the things we want the user to be able to do is
to select, from the source code of an example program,
the variables the contents of which should be displayed,
and the instructions on which breakpoints should be set.
This is best done with a multiple select widget
like:
Select/deselect variables to display and
place/remove breakpoints in the code with
<Control>/Mouse_Button_1.
Use the scrollbar to move in the code.