comp.lang.ada
 help / color / mirror / Atom feed
* HELP! Type conversion...
@ 1997-03-30  0:00 Dominic Mailhot
  1997-03-31  0:00 ` Samuel Tardieu
  0 siblings, 1 reply; 2+ messages in thread
From: Dominic Mailhot @ 1997-03-30  0:00 UTC (permalink / raw)



Hi Everyone!

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

Please reply me at Dominic_Mailhot@uqtr.uquebec.ca

Dominic Mailhot




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: HELP! Type conversion...
  1997-03-30  0:00 HELP! Type conversion Dominic Mailhot
@ 1997-03-31  0:00 ` Samuel Tardieu
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel Tardieu @ 1997-03-31  0:00 UTC (permalink / raw)
  To: Dominic Mailhot


>>>>> "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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-03-31  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-03-30  0:00 HELP! Type conversion Dominic Mailhot
1997-03-31  0:00 ` Samuel Tardieu

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