It's (to me) fairly non-intuitive if one wishes to do it by index:
(<<<3) { i. 10 NB. Remove the 3th item
So, analogously,
(<<<2) { i. 5 5 NB. Remove row 2
On Mon, 28 Apr 2008 22:11:38 -600, PackRat <[EMAIL PROTECTED]> wrote:
>
> My brain must have gone into hibernation or something for the past
> couple of hours: no matter how much I've searched the documentation and
> the forum archives, I cannot seem to find anything about deleting a row
> from an array or inserting a row into an array. I was thinking that,
> instead of dropping sequential items from the beginning or end (as with
> "drop"), deleting would likely be along the line of a selected list of
> one or more items (such as rows) to drop. (I suppose inserting would
> be analogous in some manner.) However, try as I might, I couldn't find
> anything that would seem to be so simple, maybe even a primitive (and
> probably so obvious!)--hence, my frustration with myself. Could some
> kind soul gently share how these would be done? Thanks in advance!
>
> Harvey
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm