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 Path: backlog2.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!goblin3!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Text_IO, was: Re: Something I don't understand Date: Mon, 17 Feb 2014 18:17:16 +0100 Organization: cbb software GmbH Message-ID: References: <4a3e55f6-9f54-4084-9f37-96efd4b0d349@googlegroups.com> <0b358700-871b-4603-addd-65e07c7d59e5@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: dRN93LcgZmpMwxQ2TpSF2g.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: number.nntp.dca.giganews.com comp.lang.ada:184942 Date: 2014-02-17T18:17:16+01:00 List-Id: On Mon, 17 Feb 2014 18:59:43 +0200, Niklas Holsti wrote: > I think that the present method of concatenating strings or using > several Puts is good; what is needed is to extend or replace the 'Image > attribute with similar value-to-string functions which are more > controllable, flexible, and work also for composite types. Except that all these need to be MD primitive operations. There is no way to solve this without MD. Needless to say that templates could solve nothing only add further problems. > Perhaps > something analogous to the stream attributes, but with the ability to > control the output format at each invocation, which is not possible with > the stream attributes. I don't think there is any need in having formats. A few formatting parameters could be passed along to Image or equivalent. Environment settings (e.g. locale) should come from the rendering surface object. No need to specify them at all. This is how stuff like fonts, colors etc is handled in GUI. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de