previous next Up Title Contents

More advanced work

When this basic method has been worked out, more advanced techniques using several Prolog file editors, if necessary, and different directories can be tried out. The same technique can be used with development in other Prolog variants and other langauges, of course. It is not limited to SWI Prolog; this Prolog implementation is a particularly good example.

With other languages which are not installed with an automatic execution facility, the files should have an extension which is not otherwise recognised by Win95. Clicking on the file then initiates a Win95 dialogue request for the correct programme for handling the file; the correct programme should then be entered. To ensure that the output lands in the correct directory, it may be necessary to supplement the filename "SWIlog.txt" with an absolute path name, e.g.:
"tell('c:\MyPrologDirectory\SWIlog.txt')".

Advanced programmers will have no need of these hints, but for beginning programmers the technique provides a not too complicated introduction to the use of multiple tasks in programme development.


previous next Up Title Contents