[fpc-pascal] Help with TList example

Ryan Joseph genericptr at gmail.com
Tue Sep 8 16:32:49 CEST 2020



> On Sep 8, 2020, at 6:10 PM, James Richters via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> 
> I'm trying to figure out how TList works.  I found the code example below by doing a search, but I can't compile it,  I get Error: Illegal qualifier on the line  

Do you want an array of pointers (objects allocated on the stack) or an array of records (i.e. one continuous block of memory? I you want an array of pointers try using classes as mentioned or if you want an array of records try TFPGList and specialize for your record type.

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list