Just a remark...

On 20/09/2013, De Rooms Brecht <[email protected]> wrote:

> *   FILE1: global_rules_matches.drl
>      ----------------------------------------------
>      package ellipsoidfacts
>
>      // declare
>      global Integer RULES_MATCHED;
>
>      // initialize global
>      rule "initRULESMATCHED"
>            salience 999
>            when
>
>            then
>                RULES_MATCHED = 0;

This isn't going to work due to the way globals are implemented. Stick
to the API for setting and getting a global.

-W


>      end*
>
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to