[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: output formatting

From: Kacper Gutowski
Subject: Re: output formatting
Date: Sun, 10 Sep 2023 15:31:50 +0200

On Sun, 10 Sept 2023 at 01:08, Stephen Lewis wrote:
> Writes elements in 4 row matrix with spurious
> extra <space> characters and a blank line.

One thing you could do is to increase the print width ⎕PW so that it
doesn't wrap, but ultimately this default printout is intended for
human consumption.

Short of formatting it explicitly and writing it to file,
another thing you could try would be to use the quote-quad output:
      ⍞←2 50⍴⍳100

This is outside of the ISO standard (which only accepts character
vectors rather than arbitrary values for quote-quad output) and I'm
not sure if it's exactly what you need, but it's a reasonably simple
way to send the character representation (in its default form as if
by monadic ⍕, with columns still aligned and padded with spaces) to
the output without any additional wrapping with indents or blank lines.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]