Re: Delphi.NET



Hans-Peter Diettrich wrote:

Jamie wrote:

Object type wasn't broken, people just didn't know how to use it.


Inherited dynamic elements are not properly initialized/finalized.

type
O1 = object
s1: string;
end;
O2 = object(O1)
s2: string;
end;

For an instance of O2, s2 is initialized and finalized, but not s1 nor any other inherited elements.

DoDi
yes that's correct, when using dynamic system strings you get problems like that because they came out well after the Object model was in use.
if you look around, there are 2 functions used to initiation and un-initiate classes in objects.
the string model is a System Class. Objects are not classes.

As I said before, when used properly they work.


--
"I'm never wrong, once i thought i was, but was mistaken"
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5

.



Relevant Pages

  • NEED EXCEL MACRO TEXT-PARSING GURU!
    ... 1a - Instant Prescreen: Initiation - FC ... 2b - Instant Prescreen: Initiation TOB ... 8h - Instant Prescreen: Initiation Secure Mail ... the middle part of the string will vary in content and length. ...
    (microsoft.public.excel.programming)
  • NEED EXCEL MACRO TEXT-PARSING GURU!
    ... 1a - Instant Prescreen: Initiation - FC ... 2b - Instant Prescreen: Initiation TOB ... 8h - Instant Prescreen: Initiation Secure Mail ... the middle part of the string will vary in content and length. ...
    (microsoft.public.excel.programming)
  • Re: NEED EXCEL MACRO TEXT-PARSING GURU!
    ... Initiation TOB ... Initiation Secure Mail ... > the middle part of the string will vary in content and length. ... > Is there a way to create an Excel macro that will insert the middle ...
    (microsoft.public.excel.programming)
  • Re: NEED EXCEL MACRO TEXT-PARSING GURU!
    ... Initiation TOB ... Initiation Secure Mail ... > the middle part of the string will vary in content and length. ... > Is there a way to create an Excel macro that will insert the middle ...
    (microsoft.public.excel.programming)