comp.lang.ada
 help / color / mirror / Atom feed
From: Samuel Tardieu <sam@ada.eu.org>
To: Dominic Mailhot <Dominic_Mailhot@uqtr.uquebec.ca>
Subject: Re: HELP! Type conversion...
Date: 1997/03/31
Date: 1997-03-31T00:00:00+00:00	[thread overview]
Message-ID: <qw64tdsuu27.fsf@esmeralda.enst.fr> (raw)
In-Reply-To: 333EC876.47F9@uqtr.uquebec.ca


>>>>> "Dominic" == Dominic Mailhot <Dominic_Mailhot@uqtr.uquebec.ca> writes:

Dominic> Hi Everyone! I'm working on the gnat 3.09 Ada95 compiler...
Dominic> I have problem with the types conversion...  What's the
Dominic> method to convert an integer to a character string and vice
Dominic> versa...?  Is it with a function like itoa and itoa in C or
Dominic> with the notion of attributes..???  Maybe it's because I'm a
Dominic> beginner with ADA....  Thank You!

Integer I to String:   Integer'Image (I)
String S to Integer:   Integer'Value (S)

  Sam
--
Samuel Tardieu -- sam@ada.eu.org




      reply	other threads:[~1997-03-31  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-30  0:00 HELP! Type conversion Dominic Mailhot
1997-03-31  0:00 ` Samuel Tardieu [this message]
replies disabled

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