+1 - Thanks Adrian. -- Ashish
On Wed, Jun 22, 2011 at 3:42 PM, Adrian Crum < [email protected]> wrote: > A <break/> element would be a useful addition to mini-language. If anyone > is interested in creating it, I will take a look at it. > > -Adrian > > > On 6/22/2011 10:04 AM, Pierre Smits wrote: > >> Hi all, >> >> I am stumped... I need to iterate through a list to find the the first >> entry >> given a set of parameters in a simple-method, but how do I escape from the >> iteration after having found the entry? >> >> I know that in groovy I can do a while loop and if I have found the entry >> I >> can issue a 'break; and close the iteration. But how do I do this in the >> interation in a simple-method? >> >> Regards, >> >> Pierre >> >>
