[fpc-pascal] 2 bugs ???Q
Yann Bat
batyann811 at gmail.com
Wed Sep 7 16:50:35 CEST 2011
Thanks. You've just found bug number 3 ! :-)
But #1 and #2 are alway here.
2011/9/7 Marco van de Voort <marcov at stack.nl>:
> 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 at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
More information about the fpc-pascal
mailing list