From: matt@... (matt neuburg) Date: 2008-09-11T01:28:34+09:00 Subject: Re: How to operate on 2 arrays simultaneously? DanDiebolt.exe wrote: > >There has got to be a more elegant solution than this. > > I use .each_with_index to walk parallel arrays: So did I until the other answers in this thread taught me about zip! :) m. -- matt neuburg, phd = matt@tidbits.com, http://www.tidbits.com/matt/ Leopard - http://www.takecontrolbooks.com/leopard-customizing.html AppleScript - http://www.amazon.com/gp/product/0596102119 Read TidBITS! It's free and smart. http://www.tidbits.com