comp.lang.ada
 help / color / mirror / Atom feed
* coercing an integer to a string
@ 1998-11-16  0:00 Emmanuel M. D�carie
  1998-11-16  0:00 ` Tom Moran
  1998-11-16  0:00 ` Chris Morgan
  0 siblings, 2 replies; 11+ messages in thread
From: Emmanuel M. D�carie @ 1998-11-16  0:00 UTC (permalink / raw)


Hello, 

I need 2 functions.

Function 1 will take for input an integer and will return the number as a
string.

Function 2 will reverse this action, i.e. will take a string that contains
a integer and will return an integer.

Can anybody suggest me a way to do this, or point me to a faq.

I'm just starting with Ada, and I can find anything on this in "Ada 95
From the Beginning" and in "Ada 95 Problem Solving and Program Design.

Thanks.

-- 
Emmanuel
emm*cam.org  where * = @




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

end of thread, other threads:[~1998-11-23  0:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-16  0:00 coercing an integer to a string Emmanuel M. D�carie
1998-11-16  0:00 ` Tom Moran
1998-11-16  0:00   ` John McCabe
1998-11-16  0:00 ` Chris Morgan
1998-11-16  0:00   ` John McCabe
1998-11-17  0:00     ` Chris Morgan
1998-11-17  0:00       ` John McCabe
1998-11-18  0:00         ` Emmanuel M. D�carie
1998-11-20  0:00           ` Dale Stanbrough
1998-11-23  0:00             ` Robert I. Eachus
1998-11-23  0:00           ` Chris Morgan

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