[top] [up]

Trinc-Prolog User Interface


Trinc-Prolog is an interactive Microsoft Windows application for running and debugging Prolog applications. All the main windows of the Integrated Development Environment (IDE) of Trinc-Prolog are described in this section.

The output window

The output window is primarily used for executing goals, debugging and testing of Prolog programs. It has a combobox at the top of the window in which goals can be entered that the Prolog engine will attempt to prove. By pressing on the button of the combobox a history list of commands entered is shown.
The result of proving a goal is displayed in the text window below the combobox, no text can be entered inside this memo control. At the bottom of the window there is an area in which status and error messages are displayed. 

    pl_img89.gif (12599 bytes)

It is possible to double-click on a message in the list at the bottom of the window,   the line that caused the error or warning message is displayed in the text editor.

The meaning of the speedbuttons in the output window is:

pl_btn1.gif (901 bytes) This button starts the evaluation of a goal to find the next solution or all solutions. If Trinc-Prolog stops the processing of an active program then this button is replaced by the 'Continue' button.
pl_btn6.gif (892 bytes) After finding a solution or stopping an active Prolog program this button becomes visible, if pressed the Prolog interpreter continues processing.
pl_btn7.gif (888 bytes) If this button is pressed Trinc-Prolog immediately cancels the current Prolog program.
pl_btn8.gif (898 bytes) If this button is pressed Trinc-Prolog starts stepping to find the first solution. Stepping through a Prolog program means that the interpreter waits for the user after each single execution step. If this button is pressed and the first step was successfull then it is replaced by the 'Next Step' button.
see also: stepping through a program
pl_btn9.gif (901 bytes) The Prolog interpreter executes the next step. This button appears when stepping through code is started.
see also: stepping through a program
pl_btn5.gif (892 bytes) Display or hide the execution trace of the Prolog inference engine. The execution trace displays all the steps of proving a goal.
pl_btn4.gif (915 bytes) Start replaying a previously recorded test, see also: recording and replaying test scripts
pl_btn2.gif (892 bytes) Start recording of a test, see also: recording and replaying test scripts
pl_btn3.gif (885 bytes) Stop recording of a test, this button is only visible during the recording of a test, see also: recording and replaying test scripts

 

[top] [up]

 

info@trinc-prolog.com