Hi,
I'm using the SizeOf Function to obtain the size of a record. I appear to get confusing results. Specifically, when I comment out a 'Char' the value of my Record drops by 4. I thought a 'Char' was only 1(??). If I comment out a 'Word' the value also drops by 4, which I would expect. Commenting out 'arrays of Char' creates even more confusing results.
Any one know why this might be happening?
Thanks.
I'm using the SizeOf Function to obtain the size of a record. I appear to get confusing results. Specifically, when I comment out a 'Char' the value of my Record drops by 4. I thought a 'Char' was only 1(??). If I comment out a 'Word' the value also drops by 4, which I would expect. Commenting out 'arrays of Char' creates even more confusing results.
Any one know why this might be happening?
Thanks.