[fpc-pascal] Re: Data alignment of records

2010-12-10 Thread Luis Fernando Del Aguila Mejía
Maybe a better question is: why do you want to know the alignment of different data types? Since it can change depending on which platform you are compiling for, writing your code assuming a particular alignment is generally a very bad idea. Not only want to know the alignment of different data

[fpc-pascal] Re: Data alignment of records

2010-12-10 Thread Luis Fernando Del Aguila Mejía
Maybe a better question is: why do you want to know the alignment of different data types? Since it can change depending on which platform you are compiling for, writing your code assuming a particular alignment is generally a very bad idea. Not only want to know the alignment of different data

Re: [fpc-pascal] Re: Data alignment of records

2010-12-10 Thread Jonas Maebe
On 10 Dec 2010, at 13:08, Luis Fernando Del Aguila Mejía wrote: Can someone explain to me, about the Data alignment of records and other variables. The alignment of records (and TP-style objects) is the same as alignment of its fields with the highest alignment requirement. For base typ

[fpc-pascal] Re: Data alignment of records

2010-12-10 Thread Luis Fernando Del Aguila Mejía
I don't know what you mean by "registration data". Sorry. Can someone explain to me, about the Data alignment of records and other variables. thanks. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailma