<div dir="ltr">Here is the complete snippet that i wanted to create<br><br><div style="margin-left:40px"><font face="monospace,monospace">Type<br></font></div><div style="margin-left:40px"><font face="monospace,monospace"> generic PGList<T> = ^specialize TGList<T>;<br><br></font></div><div style="margin-left:40px"><font face="monospace,monospace"> generic TGList<T> = record<br></font></div><div style="margin-left:40px"><font face="monospace,monospace"> data: T;<br></font></div><div style="margin-left:40px"><font face="monospace,monospace"> next: specialize PGList<T><br></font></div><div style="margin-left:40px"><font face="monospace,monospace"> end;<br></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 18, 2016 at 11:11 PM, Le Duc Hieu <span dir="ltr"><<a href="mailto:alaviss0@gmail.com" target="_blank">alaviss0@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi,<br><br></div>I'm trying to write a generic linked-list without the use of classes and objects.<br><br></div>I need to be able to create generic pointer like this:<br><br></div><div style="margin-left:40px"><font face="monospace,monospace">Type<br></font></div><div style="margin-left:40px"><font face="monospace,monospace"> generic PGList<T> = ^specialize TGList<T>;<br><br><br></font></div></div></div>
</blockquote></div><br></div>