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,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1db5f5538715d789,start X-Google-Attributes: gid103376,public From: "NANCY HEHIR" Subject: integer'image Date: 2000/04/17 Message-ID: <29IK4.5459$sB3.3596@news.indigo.ie>#1/1 X-Deja-AN: 612321887 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@eircom.net X-Trace: news.indigo.ie 955993790 159.134.245.182 (Mon, 17 Apr 2000 18:49:50 BST) Organization: Information Age Town NNTP-Posting-Date: Mon, 17 Apr 2000 18:49:50 BST Newsgroups: comp.lang.ada Date: 2000-04-17T00:00:00+00:00 List-Id: When I run the following code integer_string:string(1..2); . . . for x in 1..20 loop integer_string:=integer'image(x); end loop; everything is fine until x=10. This raises a constraint error which I interpret to be a problem with mismatched string lenghts. If I increase integer_string lenght a constraint error is raised on the first iteration. have tried declaring integer_string as unbounded but integer'image returns a standard string. I'm sure that it is a standard application to convert integers to their string images but I can't figure what I'm missing here.