I may not understand what you desire from 13&:

Can you elaborate what it is you wish to get from that modifier that you
cannot get at present?

If you want programs that do not surprise you in their meaning, 3&: should
do the trick.

It can be disconcerting that 13&: and 3&: produce different meanings for
the same argument, but I find it fitting to think of them as being
different things. From that perspective we can't expect them to always have
the same results.
On Mar 17, 2012 3:45 AM, "Linda Alvord" <lindaalv...@verizon.net> wrote:

> David Ward Lambert pointed out the known pitfall that occurs using  : 13 :
>
>
>
> Would these examples help in correcting the problem?
>
>
>
>   why=: 13 :'y+y'  NB. wrong
>
>   why
>
> +
>
>   why 3
>
> 3
>
>   why=: 13 :'y-y'  NB. right
>
>   why
>
> -~
>
>   why 3
>
> 0
>
>   why=: 13 :'y*y'  NB. wrong
>
>   why
>
> *
>
>   why 3
>
> 1
>
>   why=: 13 :'y%y'  NB. right
>
>   why
>
> %~
>
>   why 3
>
> 1
>
>   why=: 13 :'y+y+y' NB. wrong
>
>   why
>
> ] + +
>
>   why 3
>
> 6
>
>   why=: 13 :'y-y-y'  NB. right
>
>   why
>
> ] - -~
>
>   why 3
>
> 3
>
>   why=: 13 :'y*y*y'  NB. wrong
>
>   why
>
> ] * *
>
>   why 3
>
> 3
>
>   why=: 13 :'y%y%y'  NB. right
>
>   why
>
> ] % %~
>
>   why 3
>
> 3
>
>
>
> Linda
>
>
>
>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to