--90e6ba10b06dc1e5e104a86d86bb Content-Type: text/plain; charset=ISO-8859-1 Test for BYE before answering. On Tue, Jul 19, 2011 at 10:36 AM, Cajus A. <cajus_ / hotmail.com> wrote: > Hi i'm trying to write and example program where you speak to a > grandmother who cannot hear well. you need to write everything in > capital letters or she wont hear you. When you Say BYE the program is > finished. > > My problem is that when i say BYE it first answers me and after that > finishes the program. I would like that after i write BYE it should > finish the program immediately and not answer me before that. > > Attachments: > http://www.ruby-forum.com/attachment/6431/lasku.rb > > > -- > Posted via http://www.ruby-forum.com/. > > --90e6ba10b06dc1e5e104a86d86bb--