I think Ning Zhong wrote:
> 
> Hi, jess-users,
> 
> I am just learning to use jess. And I am not familiar with java
> either. My question is,
> 
>   Can java objects be assigned to a JESS variable. For example,
> 
> (bind ?x1 (call jfunc "aaa"))
> 
> Here the user defined function "jfunc"(written in Java) return
> a java object. Can I treat ?x1 as a java object in JESS?


Quick answer: yes.

Longer answer: yes, but note that call requires an object on which to
call the named method, which must be supplied as the first argument. I
would take a bit of time to get familiar with Java itself before
trying to learn to call java functions from Jess, or you'll have a
hard time of it.

> 
> Thanks in advance,
> 
> 
> Ning Zhong
> 

> 


---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
Org. 8920, MS 9214                  [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. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to