L
lwen
Unregistered / Unconfirmed
GUEST, unregistred user!
这是我定义的Record
MyRec = Record
a: Array[0..3] of char;
b: char;
c: char;
d: LongInt;
e: LongInt;
f: LongInt;
end;
SizeOf(MyRec) = 20
而实际上长度为4+1+1+4+4+4=18
MyRec = Record
a: Array[0..3] of char;
b: char;
c: char;
d: LongInt;
e: LongInt;
f: LongInt;
end;
SizeOf(MyRec) = 20
而实际上长度为4+1+1+4+4+4=18