On 26/06/2012, Dwight Hare wrote:
> I am trying to reason about the passage of time in my rules. I would like to
> write the following rule:
>
> (defrule Test
> ?r <- (logical (CurrentTime))
> (logical (Condition (time ?time&:(> (+ ?time 5)
> ?r.t
>
Duh. I had early on gotten into the habit of assigning the LHS clause to a
variable (as I did below in "?r <- ...") and then accessing the slots using
dotted vars that I had completely forgotten this alternative way of assigning a
slot value to a var in a rule. It works correctly now without the