JESS: user functions and warning messages in plugin

2007-04-23 Thread Skeptic 2000
 
Hi,
If I add my user-functions trough Java instead of directly in the .clp files, 
how I can get rid of the warning messages in the plug-in ?Thanks for help.
 
JFL
_
Soyez parmi les premiers à essayer Windows Live Mail.
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d

Re: JESS: user functions and warning messages in plugin

2007-04-23 Thread Ernest Friedman-Hill
On Sunday 22 April 2007 11:34:45 pm Skeptic 2000 wrote:
 Hi,
 If I add my user-functions trough Java instead of directly in the .clp
 files, how I can get rid of the warning messages in the plug-in ?Thanks for
 help.

Use the require* function to include a special development-only stub file 
that contains empty function declarations. require* is like batch but with 
two important differences: first, if you use it with provide, it will only 
read a file once, no matter how many times its called; and second, if the 
file isn't found it fails silently. Don't deploy the stub file, and then the 
require* call will simply be ignored at runtime.

--
Ernest Friedman-Hill
Advanced Software Research  Phone: (925) 294-2154
Sandia National LabsFAX:   (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://www.jessrules.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]