Erase will work on an unboxed list of words, as well as boxed words. If you
give it a string, ;: will split it into words, and if you give it a box, ;:
will fail and because of the ::] it will fall back on ] as a default, which
does nothing before feeding the argument to 4!:55.

Marshall

On Mon, Oct 31, 2011 at 9:05 PM, David Vaughan <[email protected]
> wrote:

> Can someone explain why the erase verb is 'more complex' than just 4!:55?
>
>   erase
> [: 4!:55 ;: ::]
>
> They appear to do the same. I've never used :: before but I don't see what
> purpose it has here. I assume it's something to do with deleting multiple
> names or something.
>
> Thanks.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to