[fpc-devel] Newbie question: how does the compiler know the class type of an object ( the Is operator)

Sven Barth pascaldragon at googlemail.com
Mon Aug 25 11:04:53 CEST 2014

Am 25.08.2014 09:52 schrieb "Michael Schnell" <mschnell at lumino.de>:
> On 08/23/2014 06:17 PM, Dennis Poon wrote:
>> 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. At least not in FPC. Also unlike records it
supports inheritance.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20140825/e5128e1e/attachment.html>

More information about the fpc-devel mailing list