wcint =: ( :: ($:@:".))  NB. with convert to int/num

   2 +&(+: wcint) '8'  NB. works 4+16 

20

2 +&(+: wcint) '4+4'  NB. wrong: 8+4

12

It appears as though if ". argument is a simple number then it "works", but if 
an expression, then it doesn't.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to