nobar simplified?
nobar=: ({. , _2 {:\ ])@:":
|Date: Sun, 12 Jul 2020 16:07:11 -0400
|From: Arthur Anger <[email protected]>
|To: [email protected]
|Subject: Re: [Jprogramming] Boxing Issues
|Message-ID: <[email protected]>
|Content-Type: text/plain; charset=us-ascii
|
|Skip--
|For some years,I have been deleting horizontal separators when
displaying tall arrays. This verb displays boxed values without
top-level horizontal separators:
|
|nobar=: (((1&|.@ (_1 0&,@ (((9{ 9!:6 '')&=@ ({."1))# i.@ #))) {"2 ])@ ":)
|
|You could also provide for deletion of first and last rows.
|
|This will not enforce alignment of vertical bars when using
variable-width characters, nor deal with second-level horizontals which
would still appear, or take up space if replaced by blanks..
|--Art
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm