Hello all, I tried to use some set types as fields in database. I would put into datebase a structure
tInfo=packed record date:set of 1..36; hour:set of 0..23; end; Of cource, I must reserve correct count of bytes for database field. Therefore I checked SizeOf value for this structure. But I compared results of working of FPC-compiled, Delphi-compiled and VirtualPascal-compiled program that wrote this value. Results: Delphi and VP - 9 bytes, FPC - 36 bytes. I must conclude: using FPC for this databse should cause: 1) its unwarrantable bloating; 2) impossibility to use the same code in Delphi and in FPC (at least the same type definitions) to access this database. May be, the sets handling in FPC may be rewritten? -- Sincerely, Pavel mailto:[EMAIL PROTECTED] _______________________________________________ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel
