From: Nicholas Seckar Date: 2006-07-01T09:27:41+09:00 Subject: Re: Order of precedence ------=_Part_36446_18923899.1151696192673 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 6/30/06, Rob Biedenharn wrote: > > > >> a = %w(h t h h h t t t h h t h) > => ["h", "t", "h", "h", "h", "t", "t", "t", "h", "h", "t", "h"] > >> b = [ "h" ] > => ["h"] > >> c = 7 > => 7 > >> a = a - b*c > => ["t", "t", "t", "t", "t"] Keep in mind that Array#- does setlike operations: [:h] * 1000 - [:h] #=> [] So the number of h's above Just Doesn't Matter. ------=_Part_36446_18923899.1151696192673--