Problems with PIE interpreter

Discussions related to Visual Prolog
flowerse
Posts: 1
Joined: 7 Jan 2017 18:08

Problems with PIE interpreter

Unread post by flowerse » 8 Jan 2017 18:39

The PIE interpreter in PIE.proj6 won't respond to questions of the form:

?- person(X).

or

run :- person(X), write(X).

It will respond to:

person(X)

I've reloaded both Prolog and the Examples, and the problem peresists. I know about Reconsulting.
flowerse

User avatar
Thomas Linder Puls
VIP Member
Posts: 1622
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls » 9 Jan 2017 21:06

I cannot reproduce the problem, perhaps you can write detailed instructions for reproducing the problems.

Also notice that ?- should be skipped in the "Dialog" window. Just write:

person(X).

And press enter in that line.

In files you should use ?- if you want to run something when the file is consulted/reconsulted.
Regards Thomas Linder Puls
PDC

Post Reply