Align columns: Difference between revisions

Content deleted Content added
Added J.
→‎{{header|J}}: One constant had been left out.
Line 177: Line 177:
'L' colalign y NB. default to left-justify all columns
'L' colalign y NB. default to left-justify all columns
:
:
D=. '$' NB. the column delimiter
afD=. ,&.> (#&D&.> @: (D&~: @: {: &.>)) NB. assure final delimiter (verb)
afD=. ,&.> (#&D&.> @: (D&~: @: {: &.>)) NB. assure final delimiter (verb)
T0=. afD <;._2 y NB. text arranged as lines
T0=. afD <;._2 y NB. text arranged as lines