Re: Beginners question...
- From: Karl Klose <kklose@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 18 Jan 2006 09:29:50 +0100
Wojciech "Spook" Sura schrieb:
Hi! I've got a question - once I've used SWI-Prolog, but now I'm using Poplog's version. I tried to teach prolog in runtime, such as:In SWI-Prolog, you enter "user-mode" by
?- test(a).
?- [user].
Now you can enter facts and rules. When you're done, press Ctrl+D to compile the rules and leave user-mode. Perhaps this works similar in Poplog (I could not find resources concerning Poplog, you have a link?).
But instead of teaching, prolog answered me basing on its (empty, yet) database "no.". Can you tell me how to change mode into teaching and then into query again? I'm searching the Google and I cannot find the trick.
Best regards -- Spook.
Regards, Karl .
- Follow-Ups:
- Re: Beginners question...
- From: Wojciech \"Spook\" Sura
- Re: Beginners question...
- References:
- Beginners question...
- From: Wojciech \"Spook\" Sura
- Beginners question...
- Prev by Date: Beginners question...
- Next by Date: Re: Using rules in abductive way
- Previous by thread: Beginners question...
- Next by thread: Re: Beginners question...
- Index(es):
Relevant Pages
|
|