From: Vincent Angeloni Date: 2008-04-15T09:14:36+09:00 Subject: Re: noob 'why doesn't this work' question Marc Heiler wrote: >> I'm not entirely sure what you're trying to accomplish anyway > > I guess he is starting to _learn_ which could explain what he > is wanting to accomplish so examples don't necessarily need to > make much sense and his head will slowly fill up with > 101 ways to achieve what he wants to have ;-) Basically, I'm trying to get a list of files/folders along with a separate list of the sizes of said files. The array deletions I asked about would be the deletion of files enclosed in folders from the original file list and using the position of the items in the file list to delete the corresponding array position in the separate size list of those files. And thanks to everyone who responded. 101 ways to do this would be great, but I'll settle for 4 or 5. ;-) This has been very helpful. vince -- Posted via http://www.ruby-forum.com/.