This section will show you how to use Trinc-Prolog for writing Prolog programs. All the different steps are described and the text editor and debugger are demonstrated. It is advisable to read through this section and use Trinc-Prolog if you are either new to Trinc-Prolog or new to Prolog.
1. Open the text editor of Trinc-Prolog to create a
new text file. The text editor can be opened by:
|
|
2. Create a new text file by:
|
|
| 3. Paste the following program into the new file in the text editor: | |
|
|
4. Save the new text file by:
|