From: Meador Inge Date: 2006-07-01T09:59:17+09:00 Subject: Re: Order of precedence ------=_Part_17394_13692777.1151704885422 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline > My Dear Aunt Sally I was taught a close variant: Please Excuse My Dear Aunt Sally 1 - Parenthesis 2 - Exponentiation 3 - Multiply 4 - Divide 5 - Add 6 - Subtract On 6/30/06, ara.t.howard@noaa.gov wrote: > > On Sat, 1 Jul 2006, 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 ? > > > > TIA > > Stuart > > My Dear Aunt Sally > > 1 - multiply > 2 - divide > 3 - add > 4 - substract > > regards. > > -a > -- > suffering increases your inner strength. also, the wishing for suffering > makes the suffering disappear. > - h.h. the 14th dali lama > > ------=_Part_17394_13692777.1151704885422--