Groups
Sign in
Groups
CLIPSESG
Conversations
About
Send feedback
Help
rule duplication handling
22 views
Skip to first unread message
Jose Antonio Escribano Ayllon
unread,
Apr 23, 2024, 8:43:15 AM
Apr 23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CLIPSESG
Hi,
I noticed that there is no error when I have two rules with the same name, it just seems that the second one overrides the first one.
Is there any way to force CLIPS to report an error if there are two rules with the same name within the same module?
Cheers,
Jose
CLIPS Support
unread,
Apr 23, 2024, 11:12:17 PM
Apr 23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CLIPSESG
If you are watching compilations, you'll get a warning when you load a file that redefines a construct:
CLIPS (6.4.1 4/8/23)
CLIPS> (watch compilations)
CLIPS> (load "redefine.clp")
Defining defrule: r1 +j+j
[CSTRCPSR1] redefine.clp, Line 2, WARNING: Redefining defrule: r1 +j+j
TRUE
CLIPS>
Jose Antonio Escribano Ayllon
unread,
Apr 24, 2024, 6:03:41 AM
Apr 24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CLIPSESG
Hi,
Interesting, for some reason I can't make it work, I will keep investigating, thanks!
Cheers,
Jose
Reply all
Reply to author
Forward
0 new messages