Hi The new version of unit1.pas is here: http://pastebin.com/vNdNeHQe Options changed, recompiling clean with -BHint: Start of reading config file /etc/fpc.cfgHint: End of reading config file /etc/fpc.cfgFree Pascal Compiler version 2.4.2-0 [2010/11/11] for i386Copyright (c) 1993-2010 by Florian KlaempflTarget OS: Linux for i386Compiling island_maker.lprCompiling unit1.pasunit1.pas(98,3) Error: Identifier not found "Generic"unit1.pas(98,3) Error: Error in type definitionunit1.pas(98,3) Fatal: Syntax error, ";" expected but "identifier TLIST" found type map_detail = record FTerrain : Terrain_type; FTerrain_char : char; Fdescription : description_type; Fx, Fy, Flocation_number : integer; Fexits : exit_type; end; // The Island class definition TIsland = Generic // line 98 TList(map_detail); Items = array of map_detail; end; As you can see I am having problems defining a Generic TList. Can someone please point out to me what I'm doing wrong here. Best Regards,PEW > Date: Fri, 6 May 2011 11:55:27 +0100 > From: henry.verm...@gmail.com > To: lazarus@lists.lazarus.freepascal.org > Subject: Re: [Lazarus] dtm_maker project compile errors with TList code. > > On 06/05/11 11:50, Luk Vandelaer wrote: > > > > You declared the properties as read only, so assignments are not possible, > > Hehe, of course. Silly me for not noticing this. > > Henry > > -- > _______________________________________________ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus