Hye,
I have read your message and I looked a little in my documentation about
Jess.
In the book Jess in Action the author has written about Matching global
variables the followings:
"If you match to a defglobal with a pattern like (score ?*x*), the match only
considers the value of the defglobal when the fact is first asserted.
Subsequent changes to the defglobals value will not invalidate the matchif
the rule was activated based on the value of the defglobal, it stays activated
even if the defglobals value changes. The match does not reflect the current
value of the defglobal, but only the value at the time the matching fact was
asserted."
I hope you will find a solution for your problem.
Ana Tanasescu
---------------------------------
Never miss a thing. Make Yahoo your homepage.