You have something that tests for "BYE" and exits right? And you have
something that responds to uppercase right? Move the bit that tests for
"BYE" and exits above the bit that responds to uppercase text.


On Tue, Jul 19, 2011 at 11:28 AM, Cajus A. <cajus.96 / windowslive.com> wrote:

> Sorry Im not sure what you mean. The program has two Rules, if your
> writing is in downcase It replies you that she cannot hear. If its in
> upcase it replies you differently. What i would want to happen when i
> write BYE is to Tell the program to stop the loop and the program would
> finish. But It first reads That BYE is in upcase, replies me and then
> finishes the program and i havent found a way to do this.
>
> --
> Posted via http://www.ruby-forum.com/.
>
>