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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bbffc9a835f29ed6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-28 14:34:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!newsfep4-gui.server.ntli.net.POSTED!53ab2750!not-for-mail From: "chris.danx" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: integer or string to unbounded_string? References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Tue, 28 Jan 2003 22:36:22 +0000 NNTP-Posting-Host: 80.4.69.111 X-Complaints-To: abuse@ntlworld.com X-Trace: newsfep4-gui.server.ntli.net 1043793265 80.4.69.111 (Tue, 28 Jan 2003 22:34:25 GMT) NNTP-Posting-Date: Tue, 28 Jan 2003 22:34:25 GMT Organization: ntl Cablemodem News Service Xref: archiver1.google.com comp.lang.ada:33520 Date: 2003-01-28T22:36:22+00:00 List-Id: Bjoern Schiessle wrote: > Hello, > i need to convert a integer to unbounded_string. I have found the > function integer'image() but this function gives me an string. How can i > convert this string to unbounded string or directly integer to > unbounded_string? From memory, to_unbounded_string (Integer'image(x)) I'm not sure about this, so you'd have to look unbounded string in the RM to be sure http://www.ada-auth.org/~acats/arm.html hey, what am I thinking? I can do that now... http://www.adaic.org/standards/95lrm/html/RM-A-4-5.html look at 9, it is the function which returns an unbounded string from a string. HTH, Chris