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.
Being line 219 the line where the or clause is given.
Could anybody indicate me what may be wrong with my rule declaration?
I am very sorry for populating the list with so many messages.
Thanks a lot,
Diego
---------------------------------------------------------------------
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]
---------------------------------------------------------------------