comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: formatted printiung
Date: Mon, 27 Dec 2010 10:02:13 +0100
Date: 2010-12-27T10:02:09+01:00	[thread overview]
Message-ID: <1e2xrlohm064j$.1bl0ihoc0o9aw.dlg@40tude.net> (raw)
In-Reply-To: d6a8b354-04ba-4fd8-b887-52235426e28a@z9g2000yqz.googlegroups.com

On Sun, 26 Dec 2010 16:42:19 -0800 (PST), Robin wrote:

> How do you align what ada prints, and print formatted output?

For fixed size text output formatting see:

   http://www.dmitry-kazakov.de/ada/strings_edit.htm

I output into a string (output line) and then send the string to the
corresponding text file.

Otherwise it depends on the graphical framework being used. E.g. under Gtk
a it can be a special cell renderer which aligns text in desired way.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



      parent reply	other threads:[~2010-12-27  9:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-27  0:42 formatted printiung Robin
2010-12-27  1:02 ` Ludovic Brenta
2010-12-27  9:02 ` Dmitry A. Kazakov [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox