From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ec207d04b64c2261 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-05 10:57:05 PST From: Stewart Newsgroups: comp.lang.ada Subject: Re: Convert ASCII numerals to Integer numbers Date: Sun, 05 Aug 2001 18:57:22 +0100 Message-ID: References: <3B6D83B3.84D0314E@nbi.dk> X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: host213-123-42-87.dialup.lineone.co.uk X-Trace: 5 Aug 2001 18:56:40 +0100, host213-123-42-87.dialup.lineone.co.uk Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!194.42.224.136!diablo.netcom.net.uk!netcom.net.uk!dispose.news.demon.net!demon!mk-nntp-1.news.uk.worldonline.com!host213-123-42-87.dialup.lineone.co.uk Xref: archiver1.google.com comp.lang.ada:11321 Date: 2001-08-05T18:57:22+01:00 List-Id: On Sun, 05 Aug 2001 19:34:43 +0200, Jacob Sparre Andersen 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