When we upgraded from Jess70p1 to Jess71p1, the following problem cost
us quite some time.
Our code contains a rule like this:
(defrule some-rule
...
(test (some-function ...))
(not (some-patterm))
=>
...
)
In Jess70p1 this executed happily as expected. Much too my amazement
it had quite different results in Jess71p1. Actually my program got
into an endless loop. On a hunch I decided to interchange the two
patterns, since I remembered that 'a not pattern needs a preceding
pattern'. This solved the problem.
While hunting this down I was also much puzzled by the following: We
use Bill Wheeler's JessWin, which has a nice window for tracking the
agenda. At one point the agenda is displayed as empty, but
nevertheless a (run 1) executed a rule. Strange.
Maybe someone can shed some light on what has happened.
-+- JWL -+-
--------------------------------------------------------------------
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]
--------------------------------------------------------------------