Sorry about the previous post. Actually I have
problems
to define the following rule:

(defrule rule1
  (person ?age)
  (or (test (> ?age 60)) (test (< ?age 10)) ) 
 =>  (printout t ?age crlf)
)

I always get "Bad slot value" error, so I thought
maybe Jess doesn't support (test) function.
Thanks.

Xiangjun Xu

__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

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