From: Preben Randhol <randhol+abuse@pvv.org>
Subject: Re: Ada communicating with other programs
Date: Wed, 21 Nov 2001 09:03:43 +0000 (UTC)
Date: 2001-11-21T09:03:43+00:00 [thread overview]
Message-ID: <slrn9vmrbj.tb.randhol+abuse@kiuk0156.chembio.ntnu.no> (raw)
In-Reply-To: 3tBK7.34749$RG1.17245515@news1.rdc1.sfba.home.com
On Tue, 20 Nov 2001 23:14:07 GMT, tmoran@acm.org wrote:
>> > 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!
Yes if the format is fixed it should not be a problem.
Preben
--
() Join the worldwide campaign to protect fundamental human rights.
'||}
{||' http://www.amnesty.org/
next prev parent reply other threads:[~2001-11-21 9:03 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
2001-11-21 9:03 ` Preben Randhol [this message]
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