Re: Delphi.NET
Rob Kennedy wrote:
I wonder what initialization *static* arrays require?
Same as dynamic ones.
I.e. in .NET no Pascal records and static arrays are available :-(
Now all arrays are dynamic, and records are objects - hopefully working
now, in older Delphi versions the Object type was broken.
DoDi
.
Relevant Pages
- Re: Hidden read of indeterminate memory
... > The library functions do their work on arrays of bytes, ... > always well defined for any object type even for indeterminate values. ... If you are writing memcpy() in C, ... (comp.lang.c) - Re: Nick, heal the pain of the loyal Delphi community
... recognize and track the first time a class is touched--something Delphi ... IMO the old Object type could be used for such objects. ... See my suggestion about initialization/finalization clauses in subroutines, ... (borland.public.delphi.non-technical) - Re: Why no language improvements?
... in Win32 you can use the object type. ... requires this as a language feature. ... Interesting that you'd say that Delphi isn't evolving, ... (borland.public.delphi.non-technical) - Re: object count
... > how many of a specific object type has been created. ... > IIRC a static variable would do that in C, but how do you do it in ... Delphi to death, and, IMO, never really come up with anything that sticks. ... (comp.lang.pascal.delphi.misc) - Re: Delphi.NET
... Jamie wrote: ... in older Delphi versions the Object type was broken. ... Object type wasn't broken, people just didn't know how to use it. ... The compiler accepted code that was just plain wrong, and it generated incorrect implementations of valid code. ... (comp.lang.pascal.delphi.misc) |
|