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: a07f3367d7,5b031d156719dbc9 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!s20g2000vbp.googlegroups.com!not-for-mail From: Martin Newsgroups: comp.lang.ada Subject: Re: 'Image for composite types Date: Thu, 28 May 2009 09:47:27 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <45845c4b-58f4-4848-8d5e-2ab58133c250@d38g2000prn.googlegroups.com> <4a1e5f19$0$32678$9b4e6d93@newsspool2.arcor-online.net> <45bdddd8-01bc-4273-a182-87b9664a812b@r34g2000vbi.googlegroups.com> NNTP-Posting-Host: 81.154.95.136 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1243529247 25403 127.0.0.1 (28 May 2009 16:47:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 28 May 2009 16:47:27 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s20g2000vbp.googlegroups.com; posting-host=81.154.95.136; posting-account=g4n69woAAACHKbpceNrvOhHWViIbdQ9G User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10, Ant.com Toolbar 1.3,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:6078 Date: 2009-05-28T09:47:27-07:00 List-Id: On May 28, 5:25=A0pm, "Jeffrey R. Carter" wrote: > Martin wrote: > > > I'm greedy...I want to override any stupid implementation defined > > subprogram with my fancy one! (perhaps one for XML output, another for > > csv, etc depending on the what I need the output for). > > Let's see ... 1st, Martin asks for 'Image for composite types. 'Image is = a > "stupid" attribute function for numeric and enumeration types. Then, when > someone provides a mechanism by which he could obtain such a thing, he sa= ys he > doesn't want 'Image for composite types unless he can do things with it t= hat he > can't do with the existing 'Image. Sounds a bit like the kind of thing Ba= bbage > complained about: > > "Propose to an Englishman any principle, or any instrument, however > admirable, and you will observe that the whole effort of the English > mind is directed to find a difficulty, a defect, or an impossibility > in it. If you speak to him of a machine for peeling a potato, he will > pronounce it impossible: if you peel a potato with it before his eyes, > he will declare it useless, because it will not slice a pineapple." > Charles Babbage But I _am_ asking for something different to the existing 'Image - the ability to override it with whatever I want 'Image to produce. For some values a 16#...# might be more appropriate than the default string. There would seem to be little pointing add this for composite types and not scalar ones too. Cheers -- Martin p.s. you can call me anything your like...just please never, EVER English! ;-)