Hi there,
The below code produces the error:
unit myClass;
{$mode objfpc}{$H+}
interface
type
TmyClass = class(TObject);
public
constructor Create;
end;
implementation
constructor TmyClass.Create;
begin
end;
end.
The error message:
myclass.pas(11,7) Fatal: Syntax error, "=" expected but "CONSTRUCTOR" found
Line 11 is highlighted: constructor Create;
It's on Vista 32, Lazarus 1.2.4; fpc 2.6.4
I can't see what's wrong.
Thanks!