no you can't span lines. The resulting expansion can span lines though. Just not a single expression.<br><br><div><span class="gmail_quote">On 1/24/07, <b class="gmail_sendername">Nirmal.R</b> <<a href="mailto:rgbnirmal@yahoo.com">
rgbnirmal@yahoo.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Hi,<br><br>I've create the following rule using dsl
<br><br>rule<br>when<br> load map and result<br> Variable "prov" as Integer less than or equal to Variable "os" as Integer<br>* 20/100 AND (Variable "eliCol" as Integer + Variable "inEliCol" as Integer
<br>less than or equal to Variable "os" as Integer<br> then<br><br> assign 150 to result<br> display risk weight<br>end<br><br><br><br>Here<br><br>I'm not able to specify the domain specific sentence in multiple lines. I
<br>get the following error whenever i write in multiple lines. Tell me some way<br>to solve it<br><br>org.drools.rule.InvalidRulePackage: unknown:20:90 mismatched token:<br>[@99,464:465='\r\n',<4>,20:90]; expecting type ')'
<br><br>unknown:22:43 mismatched token: [@151,596:596=')',<25>,22:43]; expecting<br>type EOL<br><br>unknown:20:9 Unexpected token ')'<br><br>unknown:21:9 Unexpected token ')'<br><br><br><br>--
<br>View this message in context: <a href="http://www.nabble.com/DSL---new-line-problem-tf3080075.html#a8557582">http://www.nabble.com/DSL---new-line-problem-tf3080075.html#a8557582</a><br>Sent from the drools - user mailing list archive at
<a href="http://Nabble.com">Nabble.com</a>.<br><br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br>