Hi all, when I use the store/fetch I work with 'value' right?

Then when I store in one .clp file, for example,
(defrule record
   (animal lobster)
   =>
   (store animal "lobster")
)
How can I get this data stored, from java in one String named sea_animals?
I tried:
==========
try
{
   Value vl = engine.fetch("animal");
   String sea_animal;
   sea_animal = vl.stringValue(engine.getGlobalContext());
   System.out.println(sea_animal);
}
catch{...}
===========

Like 4.10 and 4.4.4 manual sections. But one error was report to me and
nothing happens after. How can I fix this?

Thanks!



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