From: Martin DeMello Date: 2004-09-06T14:10:13+09:00 Subject: Re: nuby question Tim Hunter wrote: > Ruby gives you the error message when you reach the last entry in namelist > and you try to reference the last entry + 1. That doesn't sound right. The error was sortlist.rb:19:in '>': undefined method '>' for false:FalseClass (NoMethodError) which sounds like your first guess was correct - a 'false' got into the array list somehow (namelist[i+1] is on the rhs of the >). Also namelist[i+1] would be nil, not false, when it overran the bounds. martin