On 10/21/07, Robert Kirby [EMAIL PROTECTED] wrote:
If you want to consider only enabled instances,
(defrule CP::enabled-example-rule
Enabled My-Template with the greatest index1 and
among those enabled with the smallest index2.
(My-Template (id ?id) (enabled TRUE) (index1 ?index1)
Hello group,
Thank you very much Robert and Wolfgang for helping me even if it is the
week end. I really appreciate this.
After some tries in a test program with the rule that you suggested, I
modified my real program to integrate the new rule. As you can see this rule
is similar to Wolfgang's