From: houston barnett-gearhart Date: 2008-07-28T06:32:07+09:00 Subject: Re: deaf grandma. thank you, martin, for your reply. i took your advice & wrote an algorithm & it's been helping me along quite well. but, i've a few questions that arose while i was writing the program. before i get started, here's the program thus far: http://pastie.org/242167. i realize that the code is a mess & i probably did much more than was necessary, but like i said, i'm fairly new to ruby, let alone programming. by all means, please suggest how i could clean it up a bit. now, for my questions. foremost, after grandma's spiel about it being so long since she last saw you & how mother said you had a question for her, if you ask the question & you capitalize any letter in your question, the program ends. why is that? second, visually, when the program is running, it's not particularly fun to look at. i figured centering the text would make a bit more pleasing to the eye, but not so much. is there a string method that enables you to output whatever grandma is saying as if she is typing it in real time? if so, how can i implement that in my program? that's the gist of my questionnaire. it's been frustrating, but as i figure things out by myself or through the hints people give me, i get a feeling of accomplishment. i understand that i'm just starting out & i shouldn't expect to have an elite knack to code in ruby, but i've been at this program on & off for 2 days & i'm not really getting all the results i've wanted. there's still a lot i need to work in. specifically, grandma's response if you give her initial question an answer that is not "yes," "Yes," "no," or "No," on top of the extension to the program, which is a whole other monster for the time being. again, any help is appreciated. -- Posted via http://www.ruby-forum.com/.