From: Michael Satterwhite Date: 2009-03-06T08:36:49+09:00 Subject: Re: Referencing Variables By Name in a String - THANKS Sharagoz -- wrote: > Is this what you're looking for? > > 1.upto(8) do |i| > box = eval("pauseBox" + i.to_s) > #do stuff with box > end Exactly. Thanks ... I forgot about eval. Appreciate it much. ---Michael -- Posted via http://www.ruby-forum.com/.