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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7745e5fc7c6c6c56 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 27 Jul 2008 00:47:18 -0500 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Ada Function for logMsg or printf References: <906b3991-f2df-4f55-9870-0c19682379dd@59g2000hsb.googlegroups.com> X-Newsreader: Tom's custom newsreader Message-ID: Date: Sun, 27 Jul 2008 00:47:19 -0500 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 71.202.183.17 X-Trace: sv3-SX92dS3ea0UzF12veFS7cSmWPJgaoDJ4lStJjMA1Y1nk1rBhkg7BflJVl9Sz4DTvp3drF4uf2V/AZfg!oj2xzBD68GXQcnEkh0YJLyJw0+gEW2ko1rEuEdakB2ptVJJohKtoZLf+mlrRfuB6lF2W6JSSpe5J!9kVvZNgpuw1wOE4us1ia/CbQs/iKKQ== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Xref: g2news1.google.com comp.lang.ada:1352 Date: 2008-07-27T00:47:19-05:00 List-Id: >Actually, an Ada version of printf would be sufficient, Won't intermixed text and 'image do what you want, or do you actually need format control? In the latter case, a modest set of simple function i_image(value : integer; format : string) return string; function f_image(value : float; width, precision : positive; left_adjust : boolean := true); function f_image(value : long_float; width, precision : positive; left_adjust : boolean := true); style routines ought to do the job, no?