JESS: Working with jess and java variables

View: New views
2 Messages — Rating Filter:   Alert me  

JESS: Working with jess and java variables

by Marcelo Alvarenga Pedrosa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear All,
 
Could you please inform me how could I transfer jess variables values to java variables and vice versa?
 
Thanks in advance for your help.
 
Regards,
 
Marcelo Alvarenga Pedrosa

Re: JESS: Working with jess and java variables

by Jason Morris :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Marcelo,

Sure thing.  All you have to do is read Section 8.2 of the Jess manual

Transferring values between Jess and Java code
http://herzberg.ca.sandia.gov/jess/docs/71/java.html#xfer

(store)
http://herzberg.ca.sandia.gov/jess/docs/71/functions.html#store

(fetch)
http://herzberg.ca.sandia.gov/jess/docs/71/functions.html#fetch

If you get stuck beyond this, come on back, but it's really quite
straight forward.

Cheers,
Jason


On Fri, May 2, 2008 at 6:54 PM, Marcelo Alvarenga Pedrosa
<mazaum@...> wrote:

>
> Dear All,
>
> Could you please inform me how could I transfer jess variables values to java variables and vice versa?
>
> Thanks in advance for your help.
>
> Regards,
>
> Marcelo Alvarenga Pedrosa



--
-----------------------------------------------------------
Jason Morris
Morris Technical Solutions LLC
consulting@...
(517) 304-5883


--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users you@...'
in the BODY of a message to majordomo@..., NOT to the list
(use your own address!) List problems? Notify owner-jess-users@....
--------------------------------------------------------------------