I have a current need for constants, and Mark&#39;s idea would be a partial solution. I can see however a requirement for a constant across all DRLs, whereas I think Mark&#39;s way would require you to initialise the constant in every file in which it is used.<br>
<br>cheers<br>Steve<br><br><div class="gmail_quote">On Mon, Jul 7, 2008 at 12:21 PM, Mark Proctor &lt;<a href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Having MVEL initialisers for variables something I&#39;d like to see happen.<br>
<br>
global Integer i &nbsp;= ... some mvel expresion....;<br>
<br>
Would that solve all the needed use cases?<br><font color="#888888">
<br>
Mark</font><div><div></div><div class="Wj3C7c"><br>
<br>
<br>
Michael Neale wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Someone asked about:<br>
<a href="http://www.mail-archive.com/rules-users@lists.jboss.org/msg05142.html" target="_blank">http://www.mail-archive.com/rules-users@lists.jboss.org/msg05142.html</a><br>
<br>
Basically - request was for constants in DRL (effectively).<br>
<br>
Thoughts? (ping me directly if you have a strong opinion on it).<br>
_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org" target="_blank">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br>
 &nbsp;<br>
</blockquote>
<br>
_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org" target="_blank">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Steven Williams<br><br>Supervising Consultant<br><br>Object Consulting<br>Office: 8615 4500 Mob: 0439 898 668 Fax: 8615 4501<br><a href="mailto:steven.williams@objectconsulting.com.au">steven.williams@objectconsulting.com.au</a><br>
<a href="http://www.objectconsulting.com.au">www.objectconsulting.com.au</a><br><br>consulting | development | training | support<br>our experience makes the difference