}. {. "1 > |.&.> a
5 8
3 : '{: > y'"0 }. a
5 8
([: {: >)"0 }. a
5 8
[EMAIL PROTECTED] wrote:
------------------------------
Message: 2
Date: Fri, 12 Sep 2008 00:14:31 +0200
From: " Zsb?n Ambrus " <[EMAIL PROTECTED]>
Subject: Re: [Jgeneral] Verb Sequences - u@:v and [EMAIL PROTECTED]
To: "General forum" <[email protected]>
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1
On Thu, Sep 11, 2008 at 10:10, Alex Rufon <[EMAIL PROTECTED]> wrote:
> ]a=: 1 2 3; 4 5; 6 7 8
>
> The requirement was remove the first box and just get the first items of
> the succeeding boxes. The solution that was provided was:
> }.@:({.@>) a
>
> Since I've don't use "Verb Sequences", my solution was:
> }. {. "1 > a
What would you do if you wanted to get the _last_ item of each box
instead of the first?
Ambrus
------------------------------
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm