STRUCTURE ALIGNMENT
Posted: Fri Jul 22, 2011 4:29 pm
Ok, I have a structure
ZAP* = RECORD
filename : ARRAY 11 OF SYSTEM.BYTE;
attr : SYSTEM.BYTE;
NTRes : SYSTEM.BYTE;
END;
While compiling I get the following: !Length rounded up
Do I run in trouble when reading this from an existing file ?
I need byte aligment and not INTEGER/WORD alignment.
ZAP* = RECORD
filename : ARRAY 11 OF SYSTEM.BYTE;
attr : SYSTEM.BYTE;
NTRes : SYSTEM.BYTE;
END;
While compiling I get the following: !Length rounded up
Do I run in trouble when reading this from an existing file ?
I need byte aligment and not INTEGER/WORD alignment.