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.1 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM,PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,c689b55786a9f2bd X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!eternal-september.org!.POSTED!not-for-mail From: Warren Newsgroups: comp.lang.ada Subject: Re: for S'Image use Func?? Date: Thu, 6 May 2010 19:52:26 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <2318cabb-080c-42a0-8219-21c347abe172@o11g2000yqj.googlegroups.com> Injection-Date: Thu, 6 May 2010 19:52:26 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="9f8M0iN5t54V+4DF/iqO8g"; logging-data="7347"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19GWWVKI3czeefa0ZqM183j7l+wcYYA9MA=" User-Agent: Xnews/5.04.25 X-Face: &6@]C2>ZS=NM|HE-^zWuryN#Z/2_.s9E|G&~DRi|sav9{E}XQJb*\_>=a5"q]\%A;5}LKP][1mA{gZ,Q!j Cancel-Lock: sha1:Bzpl7jNBR4UnjEdDhx/Rc+DtPa8= Xref: g2news2.google.com comp.lang.ada:11336 Date: 2010-05-06T19:52:26+00:00 List-Id: Adam Beneschan expounded in news:2318cabb-080c-42a0-8219-21c347abe172 @o11g2000yqj.googlegroups.com: >> �type LNumber_Type is range 0..99_999; >> >> Can I declare.. >> >> �for LNumber_Type'Image use LNumber_To_String; > > No. > > Broadly, you can't use a FOR attribute specification on every > attribute, just a few select ones that the language specifically says > you can. 'Image isn't one of those. > > I think it's been mentioned a few times on this newsgroup that it > might be nice to have this ability, but I don't see that anyone has > submitted an actual language change proposal. > > -- Adam There's probably bigger fish to fry, I suppose. I'm just being a typical lazy programmer (not always wanting to lookup the correct package prefix for the To_String() function to use). Warren