I posted these  examples not because they are wrong or right, but to
emphasize the difference between the tacit versions of right and wrong
expressions.  The pattern is the same.  If it is wrong it is missing a  ~  .
My thought was that it might be helpful for finding a correction for the
problem. 

 

why=: 13 :'y+y'  NB. wrong

   why

+

   why=: 13 :'y-y'  NB. right

   why

-~

   why=: 13 :'y*y'  NB. wrong

   why

*

   why=: 13 :'y%y'  NB. right

   why

%~

   why=: 13 :'y+y+y' NB. wrong

   why

] + +

   why=: 13 :'y-y-y'  NB. right

   why

] - -~

   why=: 13 :'y*y*y'  NB. wrong

   why

] * *

  why=: 13 :'y%y%y'  NB. right

   why

] % %~

 

All the spaces between the lines in my message didn't help to demonstrate
what I was trying to show.

 

Linda

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

Reply via email to