None
In version 1.2.1 it was not possible to have a listing written to the current output. It was hard-coded directed to the console. Now this patch changes this.
Try: asserta((a:-b)), open('test.out',write,Str), set_output(Str),write('listing'),nl,listing,close(Str).
The listing should now be in the file test.out instead on your screen.
Log in to post a comment.
None
In version 1.2.1 it was not possible to have a listing written to the current output. It was hard-coded directed to the console.
Now this patch changes this.
Try:
asserta((a:-b)), open('test.out',write,Str),
set_output(Str),write('listing'),nl,listing,close(Str).
The listing should now be in the file test.out instead on your screen.