Align columns: Difference between revisions

Content added Content deleted
m (→‎{{header|J}}: add comment)
m (→‎{{header|J}}: simplify parsing)
Line 768: Line 768:
(9!:7) 11$' ' NB. set list of box characters to spaces
(9!:7) 11$' ' NB. set list of box characters to spaces
9!:17 ,~ x NB. set box alignment
9!:17 ,~ x NB. set box alignment
res=. _2{:\ ": <;._2 @:(,&'$') &> <;._2 y NB. parse & format text
res=. _2{:\ ": <;._2 @:(,&'$');._2 y NB. parse & format text
9!:17 currboxalign NB. restore settings
9!:17 currboxalign NB. restore settings
9!:7 currboxchars
9!:7 currboxchars