Some weird stuff is going on... lazarus / 12-Debugger ---------------------------------------------------------------------- derox · 2004-06-18 09:43 - When I change the name on "Form1" to "Pong" I get an fatal error in "pong.lpr". The error occurs on: "Application.CreateForm(TPong, Pong);"... The error says: "Fatal: Syntax error, "." expected but ")" found." And then when I change it back to Form1 the type declaration of TForm1 remains "TPong = class(TForm)" and not "TForm1 = class(TForm)" as it should be... If i name the form a name different to what I named my project it compiles fine...  Is this a bug or can't the form have the same name as the project? - The project will not compile if there is a "#" in the path (I've got a folder named #Projects) Is this a bug?  :?:  :?:  :?:  :?:  :?:  :?:  :?:  :?:  :?:  :?:  :?:  :?:  :?:  :?:  :?:  :?:  :?:  :?: ---------------------------------------------------------------------- fatg · 2004-06-18 13:11 Quote ...or can't the form have the same name as the project? It must be it ---------------------------------------------------------------------- Marc · 2004-06-21 09:06 Identifiers must be unique In your example you have a unit and a variable identfied by pong. That is not allowed.