On Aug 21, 2009, at 5:29 AM, Joao Carlos Mourao wrote:
Thanks Jim, I had this in mine too. Although, since i started to use
clear, and it is not working, i wanted to know why is not working,
because maybe there is a bug, or something wrong with the procedure
that
i make, and i would like to understand the problem (i suppose the
philosophy of an engineer is to understand the thing in the complete
way, not just to say that like this works and like this doesn't work).
I totally agree -- I like to get to the bottom of things, which is why
I was asking questions about the real application. In general, of
course, "clear" clears everything, and it works fine. It's probably
clearing too much for your application, which is where the problem is
coming in -- i.e., after the "clear", something is disconnected that
was set up at the beginning of your application; for example, the
event mask, or some listeners, or routers, or something. That's why
typically people don't use "clear" here: working memory markers would
serve, as one person suggested, or otherwise "(undefinstance *)"
followed by a full reset to remove all your facts.
---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences, Sandia National Laboratories
PO Box 969, MS 9012, Livermore, CA 94550
http://www.jessrules.com
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [email protected]'
in the BODY of a message to [email protected], NOT to the list
(use your own address!) List problems? Notify [email protected].
--------------------------------------------------------------------