hi, all
I am using half Java and half Jess script together to address our tasks and 
main() is writted by myself. I am wonder how jess returns control to Java.

When we call executeCommand("(run)") from main(), the program control is 
passed to Jess. How does Jess return control to Java? 1way I know is after 
Jess inference engine finishes check all facts ,rules and fire rules, it 
will return control to main(). Any other ways?

I found a fuction (exit). When  (exit) is called, it seems to stop Java VM, 
so main() is stopped also. what I hope is that Jess stops and return control 
to main().

BTW, In which file can I find the source code for (exit)? no Intinsics.java? 
we have multifunctions.java ...

thanks
Gang



_________________________________________________________________
Send and receive Hotmail on your mobile device: http://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]
--------------------------------------------------------------------

Reply via email to