---Raul Miller wrote:
> Sherlock, Ric wrote:
> > h=: <. + ([EMAIL PROTECTED])
> >
> I think I would use
>    thru=: <. + i.@(+ *)@-~
>
>    3 thru 7
> 3 4 5 6 7
>    3 thru _1
> 3 2 1 0 _1

I like that.
In the end it always comes back to what the desired functionality was.

My preference for handling non-integers, would be to do so outside this verb if 
required.

   6.2 (>[EMAIL PROTECTED] thru <[EMAIL PROTECTED]) 11.9
7 8 9 10 11
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to