Re: Data table text I/O package?



Jacob Sparre Andersen <sparre@xxxxxx> wrote on 15/06/2005 (13:38) :
> 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?).

So the header might be:

Integer Float Text

and the data could be:

1 0.9 Start point
2 0.3 Minimum
3 6.0 End point

and then you want to check the data and validate that they are of the
correct type as indicated by the header? To generate the header
you want that the package finds out which type a certain data type is
and output this type in the header?

Preben
.



Relevant Pages