Record with string size
From: BedBaol (bedrosianbed_at_hotmail.com)
Date: 12/30/04
- Next message: Charles Appel: "Re: Record with string size"
- Previous message: J French: "Re: passing multiple parameters to an application via windows explorer"
- Next in thread: Charles Appel: "Re: Record with string size"
- Reply: Charles Appel: "Re: Record with string size"
- Reply: Rob Kennedy: "Re: Record with string size"
- Reply: Jamie: "Re: Record with string size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Dec 2004 13:28:47 GMT
Hello.
How can I compute record size if Record contains string?
Say:
type
TMyRecord = record
Number: integer;
Logical : boolean;
Text : string;
end;
var
MyRecord: TMyRecord;
I see that SizeOf(MyRecord) computes string size everytime equal to 4
(pointer size).
I don't want to fix sting part of record, because it changes very much at
runtime...
Thanks.
BedBaol
- Next message: Charles Appel: "Re: Record with string size"
- Previous message: J French: "Re: passing multiple parameters to an application via windows explorer"
- Next in thread: Charles Appel: "Re: Record with string size"
- Reply: Charles Appel: "Re: Record with string size"
- Reply: Rob Kennedy: "Re: Record with string size"
- Reply: Jamie: "Re: Record with string size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|