From: adam beazley Date: 2005-12-30T07:22:59+09:00 Subject: Re: Directory and file listing just a little update before I leave for the day, I kept trying the: images.each do |img_name| but never could get it to work, however I found that [images].to_s changed the array to a string which i can now access each file by using image[0] or image[1], image[2] etc.... So now what I am thinking is I can do a while loop and make the name of the material and the texture start with images[0] and incrament by one until they are all exhausted. I need to search and find out how to increment in ruby (++i)? thanks everyone again any coments or help would be apreciated -- Posted via http://www.ruby-forum.com/.