I was replying to your email and gmail notified that there was a new reply to which I responded "Show" and then I got confused and replied in the wrong order. Sorry.
This solution is also nice, especially the not turning the box characters to whitespace! On Sat, Apr 26, 2014 at 12:38 PM, Raul Miller <[email protected]> wrote: > That's Brian's code! (Which, incidentally, matches the original's > alignment - mine left justified the result numbers instead of right > justifying them.) > > Meanwhile, here's a variation which combines some of my approach with > Brian's (and, as a bonus, does not turn boxing into whitespace): > > ;"1(' ',~],' X ',[,' = ',2":*&".)&":/&.>{1 2(+ i.)&.>9 4 > > (I was hoping to use *&.". instead of 2":*&". but that doesn't align > properly.) > > Thanks, > > -- > Raul > > > On Sat, Apr 26, 2014 at 12:01 PM, Vijay Lulla <[email protected]> > wrote: > > R > > aul - Clever use of box characters! > > > > > > On Sat, Apr 26, 2014 at 11:59 AM, Brian Schott <[email protected] > >wrote: > > > >> Not very short, but works, I think: > >> > >> |:,/1|:>4{.}.(2&":@*/,~ ,&' = '@(' ',[,' X ',] )&":/)&.>{{>: i."+ 5 9 > >> > >> > >> > >> -- > >> (B=) > >> ---------------------------------------------------------------------- > >> 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 > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
