From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,761d03324a54191 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news4.google.com!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!usenet-fr.net!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: formatted printiung Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: Date: Mon, 27 Dec 2010 10:02:13 +0100 Message-ID: <1e2xrlohm064j$.1bl0ihoc0o9aw.dlg@40tude.net> NNTP-Posting-Date: 27 Dec 2010 10:02:09 CET NNTP-Posting-Host: 538be00d.newsspool1.arcor-online.net X-Trace: DXC=XK_b]>R3CDD[6=1B@oB@@@ic==]BZ:afN4Fo<]lROoRA<`=YMgDjhgBfcXS1NNXb[J[6LHn;2LCVN[6JU;A X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:16149 Date: 2010-12-27T10:02:09+01:00 List-Id: 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