[Jprogramming] How to enclose two columns
Ric Sherlock
tikkanz at gmail.com
Sun Aug 27 07:03:50 UTC 2017
Depends if you really want the resulting boxed items to have shape 1 4 or
not.
$&.> <"2|:"2 >BB
┌───┬───┐
│1 4│1 4│
└───┴───┘
If not then I'd probably go with one of these:
;&.> BB
┌───────┬───────┐
│0 2 4 6│1 3 5 7│
└───────┴───────┘
or
;L:0 BB
┌───────┬───────┐
│0 2 4 6│1 3 5 7│
└───────┴───────┘
On Sun, Aug 27, 2017 at 6:44 PM, Linda Alvord <lindaalvord at verizon.net>
wrote:
> I have learned a lot ffom all the different ideas. Now, here's how I want
> to take it apart. Is there a better way?
>
>
> ]BB=:;/|:,:B
> ┌─┬─┐
> │0│1│
> │2│3│
> │4│5│
> │6│7│
> └─┴─┘
> <"2|:"2 >BB
> ┌───────┬───────┐
> │0 2 4 6│1 3 5 7│
> └───────┴───────┘
>
> Thanks to all! Linda
>
> -----Original Message-----
> From: Programming [mailto:programming-bounces at forums.jsoftware.com] On
> Behalf Of Ben Gorte - CITG
> Sent: Friday, August 25, 2017 5:01 AM
> To: programming at jsoftware.com
> Subject: Re: [Jprogramming] How to enclose two columns
>
> if short is a virtue:
>
> ;/|:,: B
> +-+-+
> |0|1|
> |2|3|
> |4|5|
> |6|7|
> +-+-+
>
> Ben
> ________________________________________
> From: Programming [programming-bounces at forums.jsoftware.com] on behalf of
> bill lam [bbill.lam at gmail.com]
> Sent: Friday, August 25, 2017 05:54
> To: programming at jsoftware.com
> Subject: Re: [Jprogramming] How to enclose two columns
>
> <"1 |: B
> +-------+-------+
> |0 2 4 6|1 3 5 7|
> +-------+-------+
>
> if this is not what you wanted, then try
>
> <@,."1 |: B
> +-+-+
> |0|1|
> |2|3|
> |4|5|
> |6|7|
> +-+-+
>
>
> --
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 gpg --keyserver
> subkeys.pgp.net --armor --export 4434BAB3
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
More information about the Programming
mailing list