for each loop with condition

memolus at googlemail.com memolus at googlemail.com
Sat Oct 10 09:41:49 PDT 2009


Compare:


for each(book in books where book.pages > 100) { do(); }


for each(book in books) {
  if(book.pages > 100) { do(); }
}


More information about the es-discuss mailing list