Error Last update "eventcodetool.pas" - typinfo.pas not implementation VER2_4 lazarus / 9-Editor ---------------------------------------------------------------------- laguna · 2010-04-04 16:17 Error Message: C:\lazarus\components\codetools\eventcodetool.pas(124,9) Fatal: Syntax error, ")" expected but "," found Error in this code   MethodKindAsString: array[TMethodKind] of shortstring = (         'procedure', 'function', 'constructor', 'destructor',         'class procedure', 'class function'         {$IFNDEF VER2_4}  -->       ,'class constructor', 'class destructor'   <----------- for TMethodKind         {$ENDIF}       );            typinfo.pas    TMethodKind = (mkProcedure,mkFunction,mkConstructor,mkDestructor,                       mkClassProcedure, mkClassFunction); not implementation  VER2_4 ---------------------------------------------------------------------- Paul Ishenin · 2010-04-07 07:05 that ifdef is to make lazarus work with fpc 2.5.1 If you are using 2.4 you have no class constructors/destructors in TMethodKind. In fpc 2.5.1 you have them there. If you are using fpc 2.5.1 just update it.