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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,c689b55786a9f2bd,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!weretis.net!feeder2.news.weretis.net!newsfeed.datemas.de!eternal-september.org!.POSTED!not-for-mail From: Warren Newsgroups: comp.lang.ada Subject: for S'Image use Func?? Date: Thu, 6 May 2010 17:10:20 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: Injection-Date: Thu, 6 May 2010 17:10:20 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="9f8M0iN5t54V+4DF/iqO8g"; logging-data="24806"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/mB80+8AH8Uiv4FS2dbeoFHvQgKGoSKDs=" 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:5FyN4x4GAAbwbxAdWTfpHQMW7kU= Xref: g2news2.google.com comp.lang.ada:11330 Date: 2010-05-06T17:10:20+00:00 List-Id: I have tried to google for this and have not yet found a suitable answer, so I'll troll, er, poll for an answer here.. Is there the ability to substitute your own S'Image function? For example, a basic interpreter might define: type LNumber_Type is range 0..99_999; Can I declare.. for LNumber_Type'Image use LNumber_To_String; If so, then the question is what the signature of the S'Image function looks like-- is it: function LNumber_To_String(LNO : LNumber_Type) return String; Finally, there is actually a third question- more along the lines of "Should this language feature be used in this manner?", or is it preferable to just code your own along the lines of (which is what I presently use): function To_String(LNO : LNumber_Type) return String; Inquiring minds need to know, Warren