Subject: [SWIPL] query

From: "Paramvir Singh,Noida" <[email-masked]>
Date: Fri, 1 Feb 2002 12:46:41 +0530

Hi!!

I am new to prolog so please don't mind this simple query.

 I just want to know a way in SWI prolog by which i can store the outcome of

 any rule fired ie "true/false"

 and also the rule which was fired ie say "rule1,rule2 etc" in some FILE for

 my testing purposes.

 eg FILE should have :- 

rule1 True

 rule2 False

 rule3 False

 and so on....(based on the series of execution of rules).

 Is there any way to do it automatically in SWI prolog ??

 If yes then please help me out with this.

 regards,

 Paramvir.