From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=1.0 required=3.0 tests=BAYES_20,FORGED_GMAIL_RCVD, FREEMAIL_FROM,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Rod Kay Newsgroups: comp.lang.ada Subject: Parameterised 'Image Attributes Date: Fri, 18 Aug 2023 17:18:29 +1000 Organization: A noiseless patient Spider Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 18 Aug 2023 07:17:44 -0000 (UTC) Injection-Info: dont-email.me; posting-host="98acf62e089e070804706cd6bbf41d5b"; logging-data="194557"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fKt/cmcN4CHBTPdNDmupKXXtw5XP4E9U=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:rF2uHQ5dNeucINESo0J/e895j0k= Content-Language: en-US Xref: news.eternal-september.org comp.lang.ada:65533 List-Id: Hello.all, There has been some recent discussion on #ada irc regarding formatted output. Would it be possible/desirable to allow the 'Image attribute to have formatting parameters ? Something along the lines of ... put_Line (some_Integer'Image (Width => 5, Padding => '0')); ... and similar 'Image attribute parameters for other types. If the parameters have defaults, then there should not be any backwards compatibility issues (I think). Any thoughts ? Regards.