Hello all,

Yesterday I noticed the situation in which I would:

 - load a file into Jess that contained a deffacts construct
 -run the program
 -issue the 'clear' command
 -modify one fact in the deffacts construct in the original file
 -read the file back into Jess
 -issue the 'facts' command,

and both the modified fact and the original fact  would be present.
Apparently, the '(clear)' didn't delete all the facts.  I tried the same
procedure under CLIPS and things worked as expected with only
the modified fact inserted into the knowledge base.  I'm new to Jess
and rule-based development, but the Jess manual states that the
'clear' command "deletes all rules, deffacts, defglobals,..." so I'd
like to know if there is unintended behavior here or if I've just made
another mistake.

Thanks in advance for any response,
-Rob Jefson
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to