In our previous episode, Sven Barth said:
> >> Oh I see now. The old "object" style used in turbo pascal!
> >>
> > Your original question was about TObject.
> >
> > AFAIK, old style TP "Object" is depreciated and usually can be replaced
> by records containing methods.
> 
> It is *not* deprecated.

It was flagged as one of the constructs to be removed from the Delphi
"Nextgen" compiler. But that was all "looking at".

Afaik the mobile compiler is the fruit of that
project, but I don't have it, haven't tested it, so I don't know if

> At least not in FPC. Also unlike records it
> supports inheritance.

Limited use without dynamic instantiation.
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to