Re: Delphi.NET
- From: Hans-Peter Diettrich <DrDiettrich1@xxxxxxx>
- Date: Wed, 27 Jun 2007 03:16:52 +0200
Daniel Hobson wrote:
You cannot do this either in Turbo Delphi.NET.
Since arrays need initialization, .NET will not allow this in a variant type record.
I wonder what initialization *static* arrays require?
As can be seen from sizeof() of
TTest = record
buf: array [0..3] of byte;
end;
no additional information is part of the record. So what the heck is that information, that is pretended to need initialization???
DoDi
.
- Follow-Ups:
- Re: Delphi.NET
- From: Rob Kennedy
- Re: Delphi.NET
- References:
- Delphi.NET
- From: Daniel Hobson
- Re: Delphi.NET
- From: Tom de Neef
- Re: Delphi.NET
- From: Daniel Hobson
- Delphi.NET
- Prev by Date: Re: Delphi.NET
- Next by Date: Re: Delphi.NET
- Previous by thread: Re: Delphi.NET
- Next by thread: Re: Delphi.NET
- Index(es):
Relevant Pages
|