I have a current need for constants, and Mark's idea would be a partial solution. I can see however a requirement for a constant across all DRLs, whereas I think Mark's way would require you to initialise the constant in every file in which it is used.
cheers
Steve
Having MVEL initialisers for variables something I'd like to see happen.
global Integer i = ... some mvel expresion....;
Would that solve all the needed use cases?
Mark
Michael Neale wrote:
Someone asked about:
http://www.mail-archive.com/rules-users@lists.jboss.org/msg05142.html
Basically - request was for constants in DRL (effectively).
Thoughts? (ping me directly if you have a strong opinion on it).
_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev