comp.lang.ada
 help / color / mirror / Atom feed
From: HSR Al-Dhaheri <hashem@dhaheri.demon.co.uk>
Subject: Types Converting
Date: 1996/04/27
Date: 1996-04-27T00:00:00+00:00	[thread overview]
Message-ID: <4os0iCAqCegxEwYz@dhaheri.demon.co.uk> (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
  /____||      ____     ___     ___ ___
 /     ||  -  /   //__//__//__//__ /___) /
/      ||___ /___//  //  //  //__ /   \ /




             reply	other threads:[~1996-04-27  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-27  0:00 HSR Al-Dhaheri [this message]
1996-04-27  0:00 ` Types Converting Joerg Rodemann
1996-04-27  0:00   ` Robert A Duff
replies disabled

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