[Lazarus] FPReport file names

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Sep 14 00:03:11 CEST 2017


On Wed, 13 Sep 2017 22:18:06 +0200
Sven Barth via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

>[...]
> The compiler always searches units in this order:
> - as written in uses clause
> - all lowercase
> - all uppercase
> (and this whole block for extensions .pp, .pas and .p)

Note that uppercase also uppercase the extension.
I recommend to compile with -vt to see the details.

 
> This way on a case insensitive or case preserving (e.g. FAT, NTFS) file
> system the correct one is found on the first try and on case sensitive
> ones at least the way Lazarus by default stores units (lowercase files,
> unitname as-is) on the second try.

Hint: Lazarus code completion uses the correct case for unit
names even on Windows, which helps using mixed case.

Mattias


More information about the Lazarus mailing list