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.3 required=5.0 tests=BAYES_00,XPRIO, XPRIO_SHORT_SUBJ autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,948c8b1c8730d81,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-11 18:35:36 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.rt.ru!comstar.ru!teleglobe.net!151.99.250.105.MISMATCH!news.finmeccanica.it!not-for-mail From: "Riccardo Fulcoli" Newsgroups: comp.lang.ada Subject: ATOI Date: Fri, 11 Jul 2003 10:39:07 +0200 Organization: Finmeccanica Message-ID: NNTP-Posting-Host: 172.26.101.146 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:40217 Date: 2003-07-11T10:39:07+02:00 List-Id: HI! I'm having problems reguarding the input/output from files in text mode. Exactly I would like to read a field as a string of 50 characters(and for that i'm using the redirection of the input) and after that to convert it in a number (an integer). i.e. I'm looking for a function like the C "atoi". Of course I already know that the content of the field is a numeric one but the unchecked conversions seems not to be good at the purpose. Is there someone that could help me??? Thanks ;) Riccardo