On 13 August 2010 18:36, Manav <manav7574@yahoo.com> wrote:
Your explanation is absolutely superb. I modified my drl as per your suggestions and it's just been completely transformed. Just one question regarding one suggestion below :-- is this something like a for each loop in java . This is the first example i have seen in drl
-- will this automatically iterate over as many languages as have been inserted ?
-- the inserts .. don't they have to be within a rule block ? or did you just omit other things to keep it simple
insert( new Language( "Japanese" ) );
insert( new Language( "French" ) );
// more of the same