[Lazarus] FPReport file names

Michael Van Canneyt michael at freepascal.org
Wed Sep 13 12:03:05 CEST 2017

On Wed, 13 Sep 2017, Ondrej Pokorny via Lazarus wrote:

>> The benefit of writing fpreport.exporthtml versus fpreportexporthtml is 
>> zero. 
> You forgot one thing: third-party libraries. E.g. your fpReport could use the 
> "fprep" namespace. In the fpReport package you then define to use the fprep 
> namespace - it means you can use units in fpReport without the "fprep" 
> namespace - and without any collisions.

This is demonstrably not correct.

It is *Only* correct if there are not 2 namespaces with the same unit in
your project.

See my example program, it demonstrates exactly that.


More information about the Lazarus mailing list