Hi,
We're proud to release Castle Game Engine 6.0, an open-source 3D and
2D game engine for Object Pascal.
This release is a culmination of more than a year of intensive engine
development. The main feature is that almost every part of the engine
got significant improvement, and we have more "new
Hi,
FPC allows to type cast a class-of variable to a class instance. Is
this a bug or a feature?
var
c: TClass;
begin
TObject(c).ClassName; // crash
end.
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal
In our previous episode, Mattias Gaertner said:
>
> FPC allows to type cast a class-of variable to a class instance. Is
> this a bug or a feature?
>
> var
> c: TClass;
> begin
> TObject(c).ClassName; // crash
> end.
Feature (allowed because equal in size), used in e.g. Registerxxx functions