Re: skip iteration in each loop

2013-02-17 Thread Art Taylor
Can you explain the dynamic condition? Your example has been solved by a number of people for an equality test, but do you require something more complicated? #reject will probably get you most of the way there, but there may be other ways of approaching the problem if 'dynamic' is something

Re: skip iteration in each loop

2013-02-15 Thread Robert Klemme
On Fri, Feb 15, 2013 at 1:17 PM, botp wrote: > On Fri, Feb 15, 2013 at 4:11 PM, Saurav Chakraborty > wrote: >> >> I want to skip iteration for few values depending on dynamic condition. >> >> Say I have a persons array [1,2,3,4,5,6,7,8] and while iterating if the >> one of the values equals 2, th