Hi. I write a function t, execute it, then execute it again.

On the second execution, I want to display the intermediate result then the 
final result


I have coded it as below


The intermediate result is displayed as the intermediate result of the FIRST 
execution


I was surprised as I thought J operates from right to left


Thanks





   t=: 13 : 'z=:2*y'

   t 2

4

   z; t 4

+-+-+

|4|8|

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

Reply via email to