Hi Skip,

I like using @: instead of [: and throwing a hook in shortens things a little 
bit by getting rid of one ] and 5&| gets rid of another.

 +/@:(#~ 0 = 5&|)@(100+i.900)"_

or if you were willing to use 900 as the argument to the tacit verb

 +/@:(#~ 0 = 5&|)@(100 + i.) 900

which in addition to being shorter strikes me as a little more elegant

Cheers, bob

> On Jan 16, 2018, at 8:39 PM, Skip Cave <[email protected]> wrote:
> 
> [: ([: +/ ] #~ 0 = 5 | ]) (100+i.900)"_

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

Reply via email to