comp.lang.ada
 help / color / mirror / Atom feed
From: stt@henning.camb.inmet.com (Tucker Taft)
Subject: Re: Q: Parse a line?
Date: Tue, 28 Feb 1995 21:50:44 GMT
Date: 1995-02-28T21:50:44+00:00	[thread overview]
Message-ID: <D4qCoL.Bv1@inmet.camb.inmet.com> (raw)
In-Reply-To: 3isrp8$om9@fiesta.srl.ford.com

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



  parent reply	other threads:[~1995-02-28 21:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-02-27 15:40 Q: Parse a line? Kevin R.J. Ellwood
1995-02-28 15:04 ` Kevin R.J. Ellwood
1995-02-28 21:50 ` Tucker Taft [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-02-28 14:58 CONDIC
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox