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 <prolog@swi.psy.uva.nl>; 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 <prolog@swi.psy.uva.nl>; Fri, 1 Feb 2002 12:49:38 +0530
Received: by exch-01.noida.hcltech.com with Internet Mail Service (5.5.2650.10)
	id <CGLXWVRR>; Fri, 1 Feb 2002 12:46:45 +0530
Message-ID: <E04CF3F88ACBD5119EFE00508BBB212101683415@exch-01.noida.hcltech.com>
From: "Paramvir Singh,Noida" <paramvir@noida.hcltech.com>
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"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD>
<BODY>
<DIV>
<P><FONT size=2>Hi!!</FONT></P>
<P><FONT size=2><SPAN class=511150607-01022002>I am new to prolog so&nbsp;please 
don't mind this simple query.</SPAN></FONT></P>
<P><FONT size=2>&nbsp;I just want to know a way in SWI prolog by which i can 
store the outcome of</FONT></P>
<P><FONT size=2>&nbsp;any rule fired ie "true/false"</FONT></P>
<P><FONT size=2>&nbsp;and also the rule which was fired ie say "rule1,rule2 etc" 
in some FILE for</FONT></P>
<P><FONT size=2>&nbsp;my testing purposes.</FONT></P>
<P><FONT size=2>&nbsp;eg<SPAN class=511150607-01022002> </SPAN> FILE should have 
:- </FONT></P>
<P><FONT size=2>rule1 True</FONT></P>
<P><FONT size=2>&nbsp;rule2 False</FONT></P>
<P><FONT size=2>&nbsp;rule3 False</FONT></P>
<P><FONT size=2>&nbsp;and so on....(based on the series of execution of 
rules).</FONT></P>
<P>&nbsp;</P>
<P><FONT size=2>&nbsp;Is there any way to do it<SPAN class=511150607-01022002> 
automatically in SWI prolog </SPAN>??</FONT></P>
<P><FONT size=2>&nbsp;If yes then please help me out with this.</FONT></P>
<P><FONT size=2>&nbsp;regards,</FONT></P>
<P><FONT size=2>&nbsp;Paramvir.</FONT></P>
<P>&nbsp;</P></DIV></BODY></HTML>

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

