Hello,

I can't get rules about unordered to work from Java:

r.executeCommand("(defrule mytestrule" +
                                  "(person (name ?a) )" +
                                 " =>" +
                                  "  (assert \"nothing\" ) )";

The above rule gives an error.

I've added a template:

r = new Rete();
dt = new Deftemplate("person","a person template",r);
Value value0 = new Value("Paul", RU.STRING);
dt.addSlot("name",value0, "STRING");
Value value1 = new Value("male", RU.STRING);
dt.addSlot("gender",value1, "STRING");

And I added some facts to test it. Unfortunately this doesn't work. Ordered facts do work however (as described in the manual).

Can someone help me?

Kind regards and a happy new year,

Paul

_________________________________________________________________
Chatten met je online vrienden via MSN Messenger. http://messenger.msn.nl/

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