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,1e08410099d337f8 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!news.cid.net!fu-berlin.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: creating own Image function Date: Wed, 29 Dec 2004 17:46:15 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <1104339103.436794.134250@f14g2000cwb.googlegroups.com> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1104342375 15137 134.91.1.34 (29 Dec 2004 17:46:15 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Wed, 29 Dec 2004 17:46:15 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: g2news1.google.com comp.lang.ada:7304 Date: 2004-12-29T17:46:15+00:00 List-Id: Bobby D. Bryant wrote: : I think you can declare tmp as - : : tmp : String := "The value of field is:" & Integer'Image(Get(this)); or, tmp : constant String := "The value of field is:" & Integer'Image(Get(this)); : For that matter, I think you can skip the declaration and just do - : : return "The value of field is:" & Integer'Image(Get(this)); : : as the body of your function. -- Georg