On Sat, 23 Jun 2007, Raul Miller wrote:

+
+ How important to you is having the columns be differing
+ widths?  In other words, is Oleg's approach (only one
+ column width) acceptable?

        For my immediate usage, equal columns is fine. I
guess I could use more control if I were trying to squeeze
more on a single page, though. I guess one could call list2,
"telephone book" or "unix ls" style listing.

+
+ (Note also that, personally, I think 'list' does too much.
+ I'd be much more inclined to use a pair of words -- one
+ that boxed my string appropriately (or formed it into a
+ matrix, if constant width columns are acceptable) and
+ another which reforms that into columns.)

        I am a little confused by the first "word" of your
Note because boxing does not necessarily produce a rank 2
result. Instead of "boxed my string appropriately" do you
mean more than boxing would be accomplished by the first
word? Or do you mean that the second word would be
unnecessary if constant width columns were acceptable?

        If you mean that the first word would produce a rank
2 or higher boxed array, which might have different column
widths, then I guess you mean that the second word would
remove the boxing characters, remove the vertical spacing
between adjacent rows, and add some white space between
columns.

        In any case, are you thinking in terms of two words
-- two levels of processing -- because you think each could
be done without looping, or because you think the two parts
could be applied independently with other processes, or
what?

+
+ Thanks,
+
+ --
+ Raul

(B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to