From: Nag Raj Date: 2009-12-03T10:29:18+09:00 Subject: Re: Increment outerloop value in innerloop in each do Syntax Michael W. Ryder wrote: > Nag Raj wrote: >> { >> 1 - its J value >> >> the above output using RUBY script. >> > > I don't think you can use each on the i value. I would use a while loop > to check for the value of i. Hi Michael, I have to get it done with each do syntax. Because I have a structure type tag in xml file and I need to move onto next element if my comparision goes fine. Please help me in this. Thanks in advance. Regards, Nag. -- Posted via http://www.ruby-forum.com/.