Joshua,
Function bodies and consequence blocks are plain java code blocks...
anything you can do in a java code block you can do in there.
[]s
Edson
2007/5/21, Joshua Jackson <joshua.java(a)gmail.com>:
Dear all,
I've tried writing calculation within function or the rules block but
it seems can not run. I also could not find any examples that has
calculation in .drl file. Would it be possible to have calculation
within .drl, or do we have to write a method within .java file for the
calculation
Thanks in advance
--
YM!: thejavafreak
Blog:
http://www.nagasakti.or.id/roller/joshua/
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @
www.jboss.com