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 Labs                FAX:   (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]
--------------------------------------------------------------------

Reply via email to