From: Joel VanderWerf Date: 2006-07-01T04:58:03+09:00 Subject: Re: Order of precedence Dark Ambient wrote: > Just checking > > if I have > > a = a - b*c > > b*c gets calculated first then that result is subtracted from a ? > In other words, parantheses, in Ruby, is not necessary to make that > calculation ? Ruby uses pretty much the same precedence rules as C. Se p. 221 in the PickAxe 1st Ed., for example. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407