Because J resolves from right to left..  your parentheses changed the
order of operations.
(3 4, 5) * 6
18 24 30

yields a different result because your secon example is interpreted as

 3 4,( 5 * 6)
3 4 30

- michael dykman


On 7/19/07, Richard Donovan <[EMAIL PROTECTED]> wrote:

NB. If...

   (3 4, 5) -: 3 4, 5
1

NB. So...
   (3 4, 5) * 6
18 24 30

NB. Then why does this produce different result?
   3 4, 5 * 6
3 4 30

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



--
- michael dykman
- [EMAIL PROTECTED]

- All models are wrong.  Some models are useful.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to