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,eb47d12144771853 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-02-28 13:50:44 PST Newsgroups: comp.lang.ada Path: nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!hudson.lm.com!godot.cc.duq.edu!news.duke.edu!news-feed-1.peachnet.edu!paperboy.wellfleet.com!noc.near.net!inmet!henning!stt From: stt@henning.camb.inmet.com (Tucker Taft) Subject: Re: Q: Parse a line? Message-ID: Sender: news@inmet.camb.inmet.com Organization: Intermetrics, Inc. X-Newsreader: TIN [version 1.1 PL8] References: <3isrp8$om9@fiesta.srl.ford.com> Date: Tue, 28 Feb 1995 21:50:44 GMT Date: 1995-02-28T21:50:44+00:00 List-Id: Kevin R.J. Ellwood (kevin@vangogh.srl.ford.com) wrote: : I am fairly new to Ada and the book that I have didn't help with : this question. What I need to do is to read a line in as a string : and then read some integer values from it. In fortran I could : use an internal read statement to read from the string. Can anyone : give a simple way of doing this in Ada? Try the Integer_IO.Get that reads from a String, or use 'Image. : // Kevin R.J. Ellwood Phone: (313) 322-5535 (Work) // : // Ford Research Laboratory // : // Dearborn, MI 48121-2153 email: kevin@vangogh.srl.ford.com// -Tucker Taft stt@inmet.com