comp.lang.ada
 help / color / mirror / Atom feed
From: "chris.danx" <spamoff.danx@ntlworld.com>
Subject: Re: integer or string to unbounded_string?
Date: Tue, 28 Jan 2003 22:36:22 +0000
Date: 2003-01-28T22:36:22+00:00	[thread overview]
Message-ID: <RzDZ9.631$Uo5.8081@newsfep4-gui.server.ntli.net> (raw)
In-Reply-To: <pan.2003.01.28.22.52.26.408713.4732@schiessle.org>

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




  parent reply	other threads:[~2003-01-28 22:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-28 21:52 integer or string to unbounded_string? Bjoern Schiessle
2003-01-28 22:30 ` Stephen Leake
2003-01-28 22:36 ` chris.danx [this message]
2003-01-28 23:00 ` Bobby D. Bryant
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox