From: Sam Gentle Date: 2005-11-24T22:31:20+09:00 Subject: Re: newbie scope issue On 11/25/05, jemptymethod@gmail.com wrote: > How do I fix the following so that entering 'q' indeed breaks out of > the loop? I've read the following but think I will need to see an > example to truly understand. Gets also reads in the end-of-line separator. You could use: while arabic.chomp != 'q' do Sam