[rules-users] comma on LHS in dsl

Saleem Lakhani Saleem.Lakhani at citizensfla.com
Tue Jun 21 14:05:49 EDT 2011


Hi there,

 

I had something like this in drools 3.0 and it used to work but after I
upgraded to drools 5.0 it doesn't work.

 

[when]The Roof is not Type A , Type B , Type C , or RC=LM(rda != null,
rda != "A", rda != "B", rda != "C", rda != "R")

 

But to compile it now I had to make the following changes on both LHS
and RHS:

 

[when]The Roof is not Type A not Type B not Type C not RC=LM(rda != null
&& rda != "A" && rda != "B" && rda != "C" && rda != "R")

 

Why does the , on the LHS doesn't compile?

 

Thanks,

Saleem

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110621/60ddd2de/attachment.html 


More information about the rules-users mailing list