I'm doing the following in Java:

Funcall f = new Funcall("definstance", reteEngine);
        f.add(new Value(key, RU.ATOM));
        f.add(new Value(obj)); //where obj is an Individual
        f.add(new Value("static", RU.STRING));
        f.execute(reteEngine.getGlobalContext());

and in Jess, I'm doing:
(defclass individual customer.Individual)

When I printout the facts, I notice that attributes
that are of type Boolean are external-addresses like so
- (isMilitaryPersonnel
<External-Address:java.lang.Boolean>) 

Is this correct or should it be TRUE/FALSE? I thought
Boolean would be converted? If it should be
external-address, then what is the proper way to
pattern match? I want to match it with
(isMilitaryPersonnel TRUE).

-Matt

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