comp.lang.ada
 help / color / mirror / Atom feed
From: Stewart <s_aitken@lineone.net>
Subject: Re: Convert ASCII numerals to Integer numbers
Date: Sun, 05 Aug 2001 18:57:22 +0100
Date: 2001-08-05T18:57:22+01:00	[thread overview]
Message-ID: <o12rmtgicuk8gav9qo7u4o5p432l58a2h9@4ax.com> (raw)
In-Reply-To: 3B6D83B3.84D0314E@nbi.dk

On Sun, 05 Aug 2001 19:34:43 +0200, Jacob Sparre Andersen
<sparre@nbi.dk> wrote:

>Stewart:
>
>> I now want to get the last three characters and convert them to
>> integers
>
>To integers as in the character position in the ASCII
>(ISO-646) code table? Or to integers as in mapping '0' to 0,
>'1' to '1', etc.?

The second I think.

the text input looks like:
link asdf12 asdf23 25

I pickup the 25 as text and I want to be able to place the 25 as an
integer in a variable to pass to a linked list.

Stewart



  reply	other threads:[~2001-08-05 17:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-05 16:58 Convert ASCII numerals to Integer numbers Stewart
2001-08-05 17:34 ` Jacob Sparre Andersen
2001-08-05 17:57   ` Stewart [this message]
2001-08-05 18:13     ` martin.m.dowie
2001-08-05 18:15     ` tmoran
2001-08-06 16:09 ` Adrian Knoth
replies disabled

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