On Mon, Sep 8, 2008 at 3:43 PM, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > 1. When opening an existing file, the longest existing line length is used as > the max record size if firstlineasschema is True. The lengths are not > changed > after that.
That looks wrong. So it's basically impossible to have data of arbitrary size. > So: > I would imagine that in your case, you set firstlineasschema=False, and set > the correct > lengths in Schema. That should do it. This one is hard to test because nowhere is it documented what this Schema: TStringList should contain inside it. > A possible extension is that the schema is defined in the FieldDefs property, > and that this is used to parse the file. Ok, so it seams to me that the Schema should not actually exist, because all information it contains is redundant with FieldDefs. Setting a size in FieldDefs has no effect. -- Felipe Monteiro de Carvalho _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
