I think Michael Knapik wrote: > > Funcall f = new Funcall("definstance", rete); > > f.add(new Value("event", RU.ATOM)); > > f.add(new Value(e)); > > f.execute(rete.getGlobalContext());
I know that there's an example in the Jess 6.1 manual that shows how to call "definstance" this way, but there's also a definstance() method in the Rete class which is much more convenient to use. > > rete.executeCommand("(facts)"); > The only thing I can think of is that you've defined one or more of your own defmodules, but there are no facts that belong to the defmodule that is the current module when (facts) is called. By default, (facts) reports only the facts in the current module (usually, the current module is the last one to be defined); you can supply an argument (a module name, or "*" for "all") to change what gets reported. If you haven't defined any defmodules, and you're sure that this exact code is really being executed, then I'm utterly stumped. --------------------------------------------------------- Ernest Friedman-Hill Science and Engineering PSEs 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] --------------------------------------------------------------------