I have the following rule:

(defrule match-price-and-quality
    (Tag (TagName "price") (Text ?u))
    (Tag (TagName "quality") (Text ?t))
    (servicequality ?quality) 
    (serviceprice ?price) 
    (test (and (eq ?quality ?t) (<= ?u ?price)))
    =>
    (printout t "---- price ----------- : " ?u crlf )
    (printout t "---- quality --------- : " ?t crlf )
    (printout t "---- serviceprice ---- : " ?price crlf )
    (printout t "---- servicequality -- : " ?quality crlf )) 

If I comment the test CE, the rule gets activated and fires.
The values of the variables are OK.
I have no idea, why it doesn�t work with the test CE.
Thanks for any help!

Vincent
______________________________________________________________________________
FreeMail in der Premiumversion! Mit mehr Speicher, mehr Leistung, mehr 
Erlebnis und mehr Pr�mie. Jetzt unter http://club.web.de/?mc=021105



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