Adrian, Just save the file as another name. Then everything should be fine.
Darius > Hello, > > When creating new units, Lazarus names them Unit1, Unit2, etc. > > How do i change the names of these units? > > If i modify at the top of the file "unit Unit1;" to "unit MenuPef;", > the compiler says: Error: Illegal unit name: MenuPef. > > I've also tried to rename the file, but this of course did not work : it > complained that the original file cannot be found . > > > Cheers, > Adrian Maier > > _________________________________________________________________ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives > _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
