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.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1db5f5538715d789 X-Google-Attributes: gid103376,public From: maggiejohn@aol.com (MaggieJohn) Subject: Re: integer'image Date: 2000/04/19 Message-ID: <20000419001245.10259.00001322@ng-ci1.aol.com>#1/1 X-Deja-AN: 612985327 References: <29IK4.5459$sB3.3596@news.indigo.ie> Organization: AOL http://www.aol.com Newsgroups: comp.lang.ada X-Admin: news@aol.com Date: 2000-04-19T00:00:00+00:00 List-Id: You are getting the exception because there is always a space at the beginning of an integer'image for a '-' sign. Try this one: procedure make_a_string( thing : string ) is len : natural := thing'len; this_string : string(1..len ); begin -- do whatever end; for x in 1..20 loop make_a_string( integer'image(x)); end loop;