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=0.7 required=5.0 tests=BAYES_00,MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,18df23cccb74ee21 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-04 08:29:13 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!sunqbc.risq.qc.ca!wesley.videotron.net!news.cae.ca!not-for-mail From: "wurm" Newsgroups: comp.lang.ada Subject: Re: equivalent to ATOI in ADA Date: Fri, 4 Jan 2002 11:15:10 -0600 Organization: CAE Electronics, Montreal Message-ID: References: NNTP-Posting-Host: ctf-3.cae.ca X-Trace: dns3.cae.ca 1010161079 26903 142.39.130.235 (4 Jan 2002 16:17:59 GMT) X-Complaints-To: usenet@news.cae.ca NNTP-Posting-Date: 4 Jan 2002 16:17:59 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:18538 Date: 2002-01-04T16:17:59+00:00 List-Id: Thanx for the reply, i had looked through there but must of missed it funny thing was, i decided to not be lazy and wrote my own 3 line algorithm to do the conversion, and finished it as soon as i saw your message :) Phil "Ted Dennison" wrote in message news:FvkZ7.3920$cD4.6603@www.newsranger.com... > In article , wurm says... > >Id like to know if there is an equivalent to ATOI already built into ADA > >somewhere, I realize that i could simply import it from C but id prefer not > >to do that if i dont have to > > Integer'Value > > I highly suggest you look through Appendex K of the LRM > (http://www.ada-auth.org/~acats/arm-html/RM-K.html). There are lots of goodies > in there. While you are at it, have a look through Annex A too. > > --- > T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html > > No trees were killed in the sending of this message. > However a large number of electrons were terribly inconvenienced.