thought i couht all of these, but just found this, last time I checked
lines ending in ; causing the parser to ignore that line? Can we warn
when erroneous ; are used.
rule "Collect Test" salience 70
when
$person : Person( name == "Bob", $likes : likes )
$cheeseList : ArrayList(size > 2) from collect( Cheese( type ==
$likes ) );
then
//System.out.println($person.getName() +" will buy "+
$cheeseList.size() + " pieces of cheese");
results.add($cheeseList);
end
--
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor,
Berkshire,
SI4 1TE, United Kingdom.
Registered in UK and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Charlie Peters (USA) and David Owens (Ireland)