comp.lang.ada
 help / color / mirror / Atom feed
* Types Converting
@ 1996-04-27  0:00 HSR Al-Dhaheri
  1996-04-27  0:00 ` Joerg Rodemann
  0 siblings, 1 reply; 3+ messages in thread
From: HSR Al-Dhaheri @ 1996-04-27  0:00 UTC (permalink / raw)



Hi,

I would like to know how can you convert an integer to a string in Ada.

For example, if you've declared a variable of type integer called
[Total] which holds 25, and another one as a string called [Message]
which holds "The Total is ## out of 100".

How can you convert the [Total] to a string to insert it in the string
[Message] in the position '##' so that the [Message] will contain "The
Total is 25 out of 100" as the final result?

Thanx in advance...

     __  _________________________________
    /  ||           Hashem Al-Dhaheri
   / O ||      hashem@dhaheri.demon.co.uk
  /____||      ____     ___     ___ ___
 /     ||  -  /   //__//__//__//__ /___) /
/      ||___ /___//  //  //  //__ /   \ /




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

end of thread, other threads:[~1996-04-27  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-04-27  0:00 Types Converting HSR Al-Dhaheri
1996-04-27  0:00 ` Joerg Rodemann
1996-04-27  0:00   ` Robert A Duff

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