[Lazarus] Error when saving a new project: Unit.pas should not be used as file name
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Sun Aug 7 21:34:07 CEST 2011
Jürgen Hestermann schrieb:
> When I create a fresh application, save it to an empty directory, then I
> am asked for two file names ("project1.lpi" and "Unit1.pas").
> But the "Unit1.pas" name is not accepted and I get a warning saying
> (translated from german):
>
> It looks like a Pascal file.
> It is recomended to use non-capital letters for file names to avoid
> problems.
Dunno about the German wording, but IMO it's clear:
You can save the file with an all-lowercase name, for compatibility with
other platforms, or cased as it is (i.e. like the Unit name). Both
versions are acceptable.
DoDi
More information about the Lazarus
mailing list