From: Tobias Reif Date: 2002-03-12T05:59:35+09:00 Subject: Re: painfully newbie question You can write for i in 0..(population.length-1) as population.length.times do |i| , and you might want to use true and false instead of 1 and 0 (0 and 1 are both true in Ruby). Tobi -- * peace&love. * http://www.pinkjuice.com/