Re: [Jprogramming] weird interaction with ". and $: and ::

2020-05-31 Thread Henry Rich
This is a bug.  The recursion point for $: is not being preserved over the call to (". y), when y is longer than one word. I can't fix it this instant but I will shortly. Henry Rich On 5/31/2020 9:15 AM, 'Pascal Jasmin' via Programming wrote: wcint =: ( :: ($:@:".))  NB. with convert to int/n

Re: [Jprogramming] weird interaction with ". and $: and ::

2020-05-31 Thread Brian Schott
Cannot confirm your error. But it is a very cool verb(?). wcint =: ( :: ($:@:".)) NB. with convert to int/num 2 +&(+: wcint) '8' NB. works 4+16 20 2 +&(+: wcint) '4+4' NB. wrong: 8+4 20 JVERSION Engine: j807/j64/darwin Release-c: commercial/2019-02-24T10:50:40 Library: 8.07.26 Platf

[Jprogramming] weird interaction with ". and $: and ::

2020-05-31 Thread 'Pascal Jasmin' via Programming
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. ---