Use fetch and store (see, for example, manual section 4.4.4) or call a
Java method of your own devising from the Jess code to deposit the
result. 

I think Anderson de Rezende Rocha wrote:
> 
> How can I get one result used by one jess rule from java?
> 
> See this code:
> limits.clp
> (deftemplate face(slot direction))
> 
> (defrule go-ahead
>    (face(direction ?d))
>    =>
>    (assert(face(direction =(+ ?d 1))))
> )
> 
> now, I need get the atual direction from a java code!
> How can i make this after load this file using 'batch' and one rete
> object?
> 
> Thanks for any help!


---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
Org. 8920, MS 9012                  [EMAIL PROTECTED]
PO Box 969                  http://herzberg.ca.sandia.gov
Livermore, CA 94550

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