HI Everyone:
After Jess starts to run, is there anyway to assert new facts in Java, and
fire the rules in Jess environment ?
For example:
=======================================
Rete r;
//... Loads and parses CLIPS files
r.run();
r.executeCommand("(assert (yes))");
=======================================
It seems like the fact "yes" will be asserted, BUT it cannot be used to
fire any rule in Rete Object. If I put (run-until-halt) in CLIPS code, then
the program will block at "r.run()", and never go to assert facts. Does
anyone have this problem, too ?
Once Jess starts to run, how can I execute command after the run() ?
Thanks for answering,
Rodger
_________________________________________________________________
&b1z*:&f0J8K8m$W6G0e15&, Hotmail 6l%s!A=P2>&\:
http://zh-asiasms.mobile.msn.com
--------------------------------------------------------------------
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]
--------------------------------------------------------------------
- Re: JESS: Jess's runtime problem ... ? Tsai Rodger
