I just found a problem with pattern usage in rules. The following code
works fine in Jess 70p1, but does not work with 71b1.
Did I miss something in the change log?
;;;
(deftemplate person
(slot firstName) (slot lastName) (slot age))
(defrule teenager
(person {age > 12 && age < 20} (firstName ?name))
=>
(printout t ?name " is " ?age " years old." crlf) )
(assert (person (age 15) (firstName Maria)))
;;;
Henrique
--------------------------------------------------------------------
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]
--------------------------------------------------------------------