From paramvir@noida.hcltech.com Fri Feb 1 08:16:01 2002 Received: from ngate.noida.hcltech.com ([202.54.110.230]) by swi.psy.uva.nl (8.11.6/8.11.2) with ESMTP id g117G0L15244 for ; Fri, 1 Feb 2002 08:16:00 +0100 (MET) Received: from exch-01.noida.hcltech.com (exch-01 [204.160.254.29]) by ngate.noida.hcltech.com (8.9.3/8.9.3) with ESMTP id MAA15846 for ; Fri, 1 Feb 2002 12:49:38 +0530 Received: by exch-01.noida.hcltech.com with Internet Mail Service (5.5.2650.10) id ; Fri, 1 Feb 2002 12:46:45 +0530 Message-ID: From: "Paramvir Singh,Noida" To: prolog@swi.psy.uva.nl Date: Fri, 1 Feb 2002 12:46:41 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.10) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1AAF0.657DC9E0" Subject: [SWIPL] query This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1AAF0.657DC9E0 Content-Type: text/plain; charset="iso-8859-1" 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. ------_=_NextPart_001_01C1AAF0.657DC9E0 Content-Type: text/html; charset="iso-8859-1"

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.

 

------_=_NextPart_001_01C1AAF0.657DC9E0--