Re: Delphi.NET
- From: Jamie <jamie_ka1lpa_not_valid_after_ka1lpa_@xxxxxxxxxxx>
- Date: Thu, 28 Jun 2007 20:21:28 -0400
Rob Kennedy wrote:
Jamie wrote:seems strange, i've wrote miles of code using the older object model even with the new string style.. It's obvious, the object model was written before the Pointer strings (default type) came out..
Hans-Peter Diettrich wrote:
Now all arrays are dynamic, and records are objects - hopefully working now, in older Delphi versions the Object type was broken.
Object type wasn't broken, people just didn't know how to use it.
If the type wasn't broken, then at least the compiler's support for the type was. The compiler accepted code that was just plain wrong, and it generated incorrect implementations of valid code.
We've been over all this before.
http://groups.google.com/group/comp.lang.pascal.delphi.misc/browse_thread/thread/5f633ef3f758e1d6/2176ea3300f2dfb9
If one was to use the correct type of string that was designed for it, one wouldn't need to use those 2 fancy calls to use the systems default Pointer string that every one has gotten use to.
I still use short strings religiously where ever I can, it's faster..
--
"I'm never wrong, once i thought i was, but was mistaken"
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5
.
- References:
- Delphi.NET
- From: Daniel Hobson
- Re: Delphi.NET
- From: Tom de Neef
- Re: Delphi.NET
- From: Daniel Hobson
- Re: Delphi.NET
- From: Hans-Peter Diettrich
- Re: Delphi.NET
- From: Rob Kennedy
- Re: Delphi.NET
- From: Hans-Peter Diettrich
- Re: Delphi.NET
- From: Jamie
- Re: Delphi.NET
- From: Rob Kennedy
- Delphi.NET
- Prev by Date: Re: Delphi.NET
- Next by Date: Entering timer for long process
- Previous by thread: Re: Delphi.NET
- Next by thread: Re: Delphi.NET
- Index(es):
Relevant Pages
|