I can not understand the data alignment of records. I compiled the program PackRecordsDemo,
http://www.freepascal.org/docs-html/ref/refsu16.html#x40-470003.3.2 sample documentation.
But the result on my computer is different:
Size Trec1 : 4 Offset B : 2
Size Trec2 : 3 Offset B : 1
Size Trec3 : 2 Offset B : 1
Size Trec4 : 2 Offset B : 1
Size Trec5 : 5 Offset B : 1 Offset C : 4 //diferent Size Trec6 : 5 Offset B : 1 Offset C : 4 //diferent Size Trec7 : 9 Offset B : 1 Offset C : 8 //diferent Size Trec8 : 9 Offset B : 1 Offset C : 8 //diferent
Can someone explain to me, about the alignment of registration data and other variables.
My computer is : intel Quad CPU Q6600
S.O. Windows Vista
Att.
Luis Del Aguila
