From: tmoran@acm.org
Subject: Re: Ada communicating with other programs
Date: Tue, 20 Nov 2001 23:14:07 GMT
Date: 2001-11-20T23:14:07+00:00 [thread overview]
Message-ID: <3tBK7.34749$RG1.17245515@news1.rdc1.sfba.home.com> (raw)
In-Reply-To: slrn9vkukr.6f6.randhol+abuse@kiuk0156.chembio.ntnu.no
> > It is very easy to do it in Ada, but do expect a big number of lines. If
> Why not use the regex capabilities of GNAT?
The original post indicated the data was of the form:
Day,Time,Val1,Val2
01:23:2001,12:23:34,2.3445,233.34
so Day and Time appear to be fixed fields and the other values could be
gotten using Text_IO.Get, with Last pointing just before the comma at
the end of a number. It really shouldn't require very many lines of
code, let alone PERL or regex, to parse that!
next prev parent reply other threads:[~2001-11-20 23:14 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-20 13:10 Ada communicating with other programs Siegfried Gonzi
2001-11-20 14:39 ` M. A. Alves
2001-11-20 15:29 ` Siegfried Gonzi
2001-11-20 15:47 ` Preben Randhol
2001-11-20 16:35 ` M. A. Alves
2001-11-20 16:44 ` Preben Randhol
2001-11-20 16:51 ` Larry Kilgallen
2001-11-20 19:27 ` Pascal Obry
2001-11-20 19:48 ` Preben Randhol
2001-11-20 20:29 ` Ted Dennison
2001-11-20 23:14 ` tmoran [this message]
2001-11-21 9:03 ` Preben Randhol
2001-11-20 16:24 ` Jacob Sparre Andersen
2001-11-20 16:55 ` Larry Kilgallen
2001-11-20 19:52 ` Mark Lundquist
2001-11-20 19:59 ` Preben Randhol
2001-11-21 2:20 ` Larry Kilgallen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox