From: Florian Gross Date: 2005-02-18T21:54:47+09:00 Subject: Re: What to do when adding a comment makes your program behave differently??? Erik Terpstra wrote: > When I add a comment (just a '#' character will do) below the last line > of the program, it works fine. > > When I remove the comment it behaves differently, the result is > incorrect but Ruby does not give an error or a warning whatsoever. (I > don't have any rescue statements in my program). Things like this might be caused when you're relying on the order of something unordered. Hash#keys, #values, the output of methods and other things have undefined order. Are you sure it is not something like this?