Re: Data table text I/O package?
- From: Jacob Sparre Andersen <sparre@xxxxxx>
- Date: 15 Jun 2005 15:35:00 +0200
Preben Randhol wrote:
> Jacob Sparre Andersen <sparre@xxxxxx> wrote on 15/06/2005 (10:01) :
> > I do quite a lot of work, where I manipulate data stored in
> > (tabulator separated) text files [1]. Does anybody know of a
> > package which handles the inclusion of a header line with the
> > column names in an elegant way? It should preferably include
> > automated testing that the header is correct, when a file is
> > opened, and automated creation of the header when a file is
> > created.
>
> Not sure what you are asking. Do you want to load the data into
> lists comforming to a header name?
That was not what I was trying to ask for. Generally I just run my
data analysis tools as "filters", where I can manage with processing
one line (or a few lines) at a time.
The important part is to have the checking of the headers and the
generation of Put_Line and Get_Line procedures automated based on a
record type (and not too much more). Since I need records (for type
checking) and not just simple arrays, I can't manage with a generic
package, but have to put some code generation into the system (or can
I play some tricks with streams?).
> You can use charles with maps and lists.
I'll see if I can find the package in Charles, which does this.
> Or you want something that splits the line?
I have that already.
Jacob
--
Brakzand II:
http://lego.jacob-sparre.dk/Transport/Skibe/Brakzand_II/
.
- Follow-Ups:
- Re: Data table text I/O package?
- From: Preben Randhol
- Re: Data table text I/O package?
- References:
- Data table text I/O package?
- From: Jacob Sparre Andersen
- Re: Data table text I/O package?
- From: Preben Randhol
- Data table text I/O package?
- Prev by Date: Re: Universal type in Ada
- Next by Date: Re: Universal type in Ada
- Previous by thread: Re: Data table text I/O package?
- Next by thread: Re: Data table text I/O package?
- Index(es):
Relevant Pages
|