Wa back when I was taught arithmetic I was told that a+b*c was not well
defined because of the two ways of working,'

While Fortan seems to be one of the causes that say '*' first, then '+'
the prospect of having to count (possibly) how many blanks are where rather
horrifies me. Right to left has in some cases (the verb is not commutative)
a real benefit. It is also simple and well defined.

Left to right could be used at some loss (IMO). What is the order in
a^b^c  (and Fortran shifts to right to left here).

Leave it where it is, learning notation is part of mental growth.

RGS
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to