This is what the (modify) function does:

  (modify 2 (model SL2))

Of course, if you have the Java Fact object itself instead, you can
call setSlotValue on it.

I think Maren Zubizarreta wrote:
> Hi Everibody:
>      Does anybody know if it's possible to change a fact's value,
> once it has been asserted?
>      For instance:
>           if I have the fact:
>      >>f-2   (used-auto (make Saturn) (model SL1) (year 1992) (color white)
>                >>   (mileage 120000) (blue-book-value 3500) (owners
> ejfried))
>      Can I  change the value of the "model" slot by means of a rule or
> smthg?
> Thanx
> 




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

Reply via email to