[fpc-devel] TFieldDef.Size vs TField.Size

Martin Schreiber mse00000 at gmail.com
Thu Feb 24 10:13:50 CET 2011


On Thursday 24 February 2011 09:49:51 michael.vancanneyt at wisa.be wrote:
> > Agreed. In MSEgui tmsestringfield.size is the maximum allowed character
> > count for the field. 0 = no limit. tmsebufdataset stores string data as
> > UnicodeString instead to use a fixed record layout.
>
> But here you implicitly assume that you have a fixed number of bytes per
> character. You should always be explicit about such things, since this is a
> non-trivial assumption.
>
I don't understand.

Martin



More information about the fpc-devel mailing list