Does the description you give correspond to defglobals as well?  I
notice that my predicates that reference a defglobal don't get tickled
when modifying defglobals in the action of the rule.  I would appreciate
the described change if so.

Scott

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, May 09, 2002 2:28 PM
To: Jess Mailing List
Subject: JESS: Behavior of (modify)

Hi folks,

In Jess 6, for static definstances, the (modify) function behaves in a
possibly surprising way. This is -not- a bug report; I'm just asking
here what people think of the current behavior.

Anyway, for static definstances, (modify) modifies the definstanced
object immediately, but the corresponding shadow fact doesn't change
until a (reset). This has probably bit any number of people -- I don't
think they expect this bahavior.

I'd like to change (modify) to behave uniformly for all kinds of facts
-- i.e., the shadow facts for static definstances would change
immediately. Does anyone depend on, or especially like, the current
behavior instead?

---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
Org. 8920, MS 9012                  [EMAIL PROTECTED]
PO Box 969                  http://herzberg.ca.sandia.gov
Livermore, CA 94550

--------------------------------------------------------------------
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]
--------------------------------------------------------------------


--------------------------------------------------------------------
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]
--------------------------------------------------------------------

Reply via email to