[fpc-pascal] 2 bugs ???Q

Marco van de Voort marcov at stack.nl
Wed Sep 7 16:39:41 CEST 2011

In our previous episode, Yann Bat said:
> I am trying to learn freepascal generics and I think that I have found 2 bugs.

> var
>   V: TGenInt;
> begin
>   V.Create(589);

This is no pascal way of creating a class. Use v:=tgenint.create;

More information about the fpc-pascal mailing list