Hello, Is there any way in GPC for doing record field alignment to a byte which is default in Borland Pascal.?
One more Clarification on the line given below which is taken from the GPC documetation? gpc.info-1(297): - True packed records and arrays. Pack 8 Booleans into 1 byte.
I understood that GPC Does true packing on records and arrays. And i also tried the sample program (packingdemo.pas) given by gpc. see the declaration below var A: packed array [1 ..7] of Boolean; The size of A is expected to be 1 byte but it is 2 bytes. For values 9..16 the size is 2 bytes which is ok. once again for values 17...24 it gives 4 bytes(3 bytes expected). why it is so?
Thanks and Regards Karthic And Harikrishna