Thanks Paul, but this would just give me the size of the array, I needed the offset from the start of the record, Chris’ answer worked fine.
Thank you
Jason
-----Original
Message-----
var AMyRec: TMyRec; ASize: Integer; begin ASize := SizeOf(AMyRec.Str3); // This should work end;
Regards
|
- [DUG]: offset of item in record type Jason Coley
- Re: [DUG]: offset of item in record type Chris Reynolds
- Re: [DUG]: offset of item in record type Paul Mckenzie
- RE: Re: [DUG]: offset of item in record type Jason Coley
- Re: Re: [DUG]: offset of item in record type Jason Coley
- Re: Re: [DUG]: offset of item in record type Paul Mckenzie