From: Scott Andrechek Date: 2009-06-29T13:59:54+09:00 Subject: Re: Push Inputted Words I'm now using this: words=[] word = 'any' while word!= '' words.push gets word= gets.chomp end puts puts words.sort but as you might notice this code will skip every second word to find a matching variable for word :S -Scott -- Posted via http://www.ruby-forum.com/.