Thank you all for your help I really like Ruby in many ways but.... this is really ugly! I can't see why in the world I would want to program this way. Can someone explain why this is good. I like the idea of dynamic rather than static typing, but I would deal with static typing rather than this. Does Smalltalk operate in this manner? I have not yet had time to program a project in Smalltlalk, though it is something I plan to do soon. I don't think it has these problems, but if it does... well, Java is not THAT bad... Thanks again for your help. Robert Najlis wrote: > Am I doing something wrong (maybe - I am pretty new to Ruby)? it seems > that many time when I want to geet a numerical value out of a variable, > I need to make it a String first, and then use the .to_i function -> > "#{count}".to_i > > this can't be right, can it? > > I would give a better example, but the server with my code on it is > having issues (thus my having time to post this...) > > thanks