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-Thread: a07f3367d7,c26a0bb87e0a1da4 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!news.in2p3.fr!in2p3.fr!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: Does ada have a sscanf equivalent? Date: Mon, 22 Feb 2010 11:42:17 +0100 Organization: Jacob Sparre Andersen Message-ID: <87k4u54kmu.fsf@hugsarin.sparre-andersen.dk> References: <5e46b3e8-f7ea-45a6-a884-6882f6ec8295@c16g2000yqd.googlegroups.com> NNTP-Posting-Host: 78.156.217.122.bredband.3.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: munin.nbi.dk 1266835338 14219 78.156.217.122 (22 Feb 2010 10:42:18 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Mon, 22 Feb 2010 10:42:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:sx+tDtskboqDN65P1nr6hriNsCg= Xref: g2news1.google.com comp.lang.ada:9288 Date: 2010-02-22T11:42:17+01:00 List-Id: "J.s" writes: > I am trying to translate some C code that parses a string into numbers > (both Integers and Floats) from an input file. Ada.Text_IO.Integer_IO and Ada.Text_IO.Float_IO contain routines for this purpose. Greetings, Jacob -- "The current state of knowledge can be summarised thus: In the beginning, there was nothing, which exploded."