> On Sep 8, 2020, at 6:10 PM, James Richters via fpc-pascal 
> <fpc-pascal@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

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to