Hi All,

this is an extract of my Java program:

r.executeCommand("(defrule CheckDiscount-1 " +

                 " (prodotto ?x) " +

                 " (utenti (scelta ?x)) " +

                 " => " +

                 " (store RESULT ?x))");

r.run();

As the rule should match 5 facts at least, I expect that ?x contains this value, but it seems that my expectations aren't correct because it doesn't work.

How can I retrieve these results? I have tried to use the guideline offered by the manual in the example used for the Defqueries but it seems not to be the right way.   

 

--
Matteo Melideo  
Direct Phone: +39 06 44741145 - Operator: +39 06 4474111
Engineering SpA - R&D Lab -, Fax: +39 06 4465981
Viale del Castro Pretorio, 116 E-mail: [EMAIL PROTECTED] or [EMAIL PROTECTED]
00184 Roma - Italy
--

Reply via email to