I think [EMAIL PROTECTED] wrote:
> I am working with Jess and Java code together, and have
> created a string in Java, with the highly original name string1
> which is defined as "foo".
> 
> How do I assert, working from Java, a fact in Jess based on the 
> value of the string?  If I was working in Jess, this particular case would
> be equivalent to:
> 
>     (assert (stringfact foo))


This is an ordered fact. Constructing and asserting them from Java is
covered in JIA on pages 313-314, and in the Jess 6.1 manual in section
4.7.3 .

> 
> Thanks in advance.
> 
>     Ed Wysocki
> 


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

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