comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com
Subject: Re: Integer to String Conversion?
Date: 1998/12/16
Date: 1998-12-16T00:00:00+00:00	[thread overview]
Message-ID: <758hh7$ggd$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 756ue7$7o3$1@nnrp1.dejanews.com

In article <756ue7$7o3$1@nnrp1.dejanews.com>,
  bwefler@my-dejanews.com wrote:
> Does anyone know an Ada-83 compatible method to convert an integer to a
> string, so that the string may be concatenated with another string, and the
> resulting string passed as a parameter to a function call?  (Note: I am not
> talking about using Text_IO or Integer_IO in this case;  I simply want the
> result to be a string.	Another function will take care of the string.)

It sounds like you want the "'image" attribute.

I highly suggest you go through Annex A of your Ada 83 LRM (available online
at http://www.adahome.com/LRM/83/RM/rm83html/ ) and read about *all* the
attributes. There are all sorts of goodies in there to make your life easier.

--
T.E.D.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  parent reply	other threads:[~1998-12-16  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-16  0:00 Integer to String Conversion? bwefler
1998-12-16  0:00 ` Tom Moran
1998-12-16  0:00 ` Marin David Condic
1998-12-16  0:00 ` dennison [this message]
1998-12-16  0:00 ` Matthew Heaney
1998-12-18  0:00   ` dewarr
replies disabled

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