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;

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to