[fpc-pascal] constructor as procvar

David Emerson dle3ab at angelbase.com
Sat Mar 20 18:44:36 CET 2010

> Tobject.classtype returns TClass (class of TObject) which I first 
> assumed would work great. However I cannot seem to do a type
> conversion  from TClass to t_mammal_class (class of t_mammal)! So I am
> stuck here.

well, I got this working, not sure why I had so much trouble with a 
simple type conversion. sorry for the noise.

More information about the fpc-pascal mailing list