On Wed, 13 Sep 2017 22:18:06 +0200
Sven Barth via Lazarus <lazarus@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
-- 
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to