Here is the complete snippet that i wanted to create Type generic PGList<T> = ^specialize TGList<T>;
generic TGList<T> = record data: T; next: specialize PGList<T> end; On Fri, Nov 18, 2016 at 11:11 PM, Le Duc Hieu <alavi...@gmail.com> wrote: > Hi, > > I'm trying to write a generic linked-list without the use of classes and > objects. > > I need to be able to create generic pointer like this: > > Type > generic PGList<T> = ^specialize TGList<T>; > > >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal