[fpc-pascal] stuck with untyped pointer
albertonarduzzi at yahoo.com
Sat May 29 00:09:50 CEST 2010
> Struct is declared as "class" so it inherits from TObject if not other
> class is especified.
is that true? I don't mean not to trust you, but is the compiler
assuming that, or is it a FPC rule? IMO a class is a class, and doesn't
inherit from anything else. Unless specified. BTW, From who does TObject
Just asking, I never declare anything as a pure class, or if I do I
don't care if it descends from TObject or not, actually...
> If Struct was declared as "Object" that would be another story.
no doubt on this.
More information about the fpc-pascal