Daniel Jacobowitz wrote: >This isn't a question of precedence, which only affects the way an >expression is interpreted. It's strictly a problem of evaluation >order. Precedence determines how the expression is parsed, i.e. >(-X()) + Y() vs (-X() + Y) () an so forth. > > I guess this is much easier on the compiler. In most cases it can optimize the code better than it could do otherwise. For example,
-sin(5)+sqrt(5) -> sqrt(5)-sin(5) Does mess things up for people that think (or thought) that order of precedence is equal to order of evaluation. :) - Adam -- Building your applications one byte at a time http://www.galacticasoftware.com