On Mon, Sep 22, 2008 at 4:29 AM, Sherlock, Ric
<[EMAIL PROTECTED]> wrote:
> h=: <. + ([EMAIL PROTECTED])
>
>   7 h 13
> 7 8 9 10 11 12
>   15 h 7
> 14 13 12 11 10 9 8 7
>   7 h 7

I think I would use
   thru=: <. + i.@(+ *)@-~

   3 thru 7
3 4 5 6 7
   3 thru _1
3 2 1 0 _1

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

Reply via email to