From: "David A. Black" Date: 2004-05-31T08:18:16+09:00 Subject: Re: [BUG?] Behavior of application changes when adding non-relevant puts Hi -- On Mon, 31 May 2004, Joao Pedrosa wrote: > 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. I don't think that happens though, because the previous line is: next unless cmd[:verb].include? words.first so if 'n[orden]' isn't part of cmd, the shifting should not happen. But somehow I think you may be onto something with this hash order thing.... One thing I noticed on Ruby 1.8.0 is that it seems to work with or without the extra line, but the hash order does change. David -- David A. Black dblack@wobblini.net