I think D. Lopez-De-Ipina wrote:
> Hi,
> 
> I have the following rule:
> 
> (defrule update-TRIPevent "removes old event and keeps the new one"
>    ?oldFactID <- (TRIPevent (TRIPcode ?user1) (timestamp ?t1) (cameraID
> ?camera1) (*STRUCT_params ?paramsFact) (*STRUCT_pose ?poseFact)
> (*STRUCT_angles ?anglesFact))
>    (TRIPevent (TRIPcode ?user1) (timestamp ?t2) (cameraID ?camera2))
>    (test (< ?t1 ?t2))
>    (or (people-toguether ?user1 ?)
>        (people-toguether ? ?user1))
>    =>
>    (retract ?anglesFact)
>    (retract ?poseFact)
>    (retract ?paramsFact)
>    (retract ?oldFactID)
>    (printout t ?oldFactID "has been deleted and there was a people
> toguether event"))
> 
> Jess parser complains saying:
> 
> Message: Bad slot value .
> ( or (  at line 219.
> 

What version of Jess are you using? Experimental support for the "or"
CE appeared only in an early alpha of Jess 6; Jess 4 and 5 didn't
support it at all.



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