From: Joao Pedrosa Date: 2004-05-31T07:28:15+09:00 Subject: Re: [BUG?] Behavior of application changes when adding non-relevant puts Hi, Are you on Windows? What version of Ruby? C:\t_\luciana\foobar>ruby -v ruby 1.8.2 (2004-05-19) [i386-mswin32] Windows 2000 This line: basicthing.rb:254> words.shift Deletes the words before they could used as commands. The @actions is a Hash, which means that what changes from an execution to another is the order of its elements. The "Norden" action may come after the words.first is nil. If you're on Windows, a Ruby upgrade may be necessary. Cheers, Joao --- Felix Nawothnig wrote: > Hi. > > Seems I ran into a Heisenbug - the behaviour of my > application changes > when I add or remove non-relevant code somewhere - > seems it doesn't > really matter where. For that reason I can't really > debug or isolate the > bug. :/ __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/