Thanks for the link. For best compatibility should I make it:
Type DrawCMD = Packed Record GC: Word; PX,PY,PZ,GX,GY,GZ,GI,GJ,R,SA,EA:Double; End; Or Type {$PackRecords 2} DrawCMD = Record GC: Word; PX,PY,PZ,GX,GY,GZ,GI,GJ,R,SA,EA:Double; End; {$PackRecords default} Or am I not understanding this correctly? James From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Vojtech Cihák Sent: Sunday, July 09, 2017 2:44 PM To: FPC-Pascal users discussions <fpc-pascal@lists.freepascal.org> Subject: Re: [fpc-pascal] Fixed record files Hi, "packed record" is for compatibility. Its guaranteed that inner alignment and size of record will be always the same and will not change in future versions of compiler, unlike the plain "record". https://www.freepascal.org/docs-html/ref/refsu15.html V.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal