I agree that redefining a rule within a source file should elicit a
warning. At the command line, Jess *could* warn about it, but as
often as not, it's deliberate. Maybe the command-line warning could
be switchable.

On Mar 17, 2008, at 9:04 AM, Michael Atighetchi wrote:


I've ran into instances where my code is getting complex enough to
end up
with multiple rules that have the same name (by mistake).

I suggest to
 * flag multiple rule definitions with the same name as errors in
eclipse
 * add runtime support to detect this condition

Let me know what you think.

Michael



---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences          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