comp.lang.ada
 help / color / mirror / Atom feed
From: dummy@e.mail (Emmanuel M. D�carie)
Subject: coercing an integer to a string
Date: 1998/11/16
Date: 1998-11-16T00:00:00+00:00	[thread overview]
Message-ID: <dummy-1611980023110001@dialup-608.hip.cam.org> (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 * = @




             reply	other threads:[~1998-11-16  0:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-16  0:00 Emmanuel M. D�carie [this message]
1998-11-16  0:00 ` coercing an integer to a string 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
1998-11-16  0:00 ` Tom Moran
1998-11-16  0:00   ` John McCabe
replies disabled

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