I think you're asking about the (modify) function.
(defrule foo
?f <- (PPT_R1 (slHeelPoint FALSE))
(modify ?f (slHeelPoint TRUE)))
This retracts the old fact, and asserts a new one identical to the
retracted one (same slot values) except for any explicitly specified
in the modify command.
I think [EMAIL PROTECTED] wrote:
>
>
> Hello jess users:
>
> I have defined a template like
>
> (deftemplate PPT_R1
> (slot slHeelPoint)
> (slot slPedalAngle)
> (slot slBallfootRefPoint)
> (slot slSgRP_95)
>
> )
>
> Based on a rule, each slot vaue will be true, and this can happen only
> one at a time.
>
> How to assert each slot value to be true, and retain this when next time
> another slot value is asserted. Read the documentation for details.
>
>
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9214 [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]
---------------------------------------------------------------------