On 25 May 2011 16:42, Mark Proctor <mproctor(a)codehaus.org> wrote:
On 25/05/2011 08:28, Wolfgang Laun wrote:
Number( $iCount: intValue ) from accumulate ( Fact( x > 0 ), $c:
System.out.println( "count = " + $c );
accumualte now supports multiple functinos - like min and max. As it now
returns multiple results, the 'from' isn't appropriate. So we instead allow
binding on the function directly. 'from' will still, for single functions it
will behave as previously, for multiple functions I believe we throw an
It would appear that you don't; the first function is returned via the
JIRA forthcoming, since results can't be used on the RHS.
There's no way $c can be used in RHS code (5.3.0, current).
Is this the intended behaviour? Where can it be used?
rules-dev mailing list