[Lazarus] FPReport file names
nc-gaertnma at netcologne.de
Wed Sep 13 11:13:16 CEST 2017
On Wed, 13 Sep 2017 10:44:23 +0200 (CEST)
Michael Van Canneyt via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
> As long as there are no command-line switch and directive for setting
> namespaces, they are completely useless. And even with them, the benefit is
> The benefit of writing fpreport.exporthtml versus fpreportexporthtml is zero.
It's a little bit better than zero. For example shorter uses clause.
> And even with the command-line switch, the 'namespaces stop unit name conflicts'
> argument is of course complete nonsense.
> I tested in Delphi:
> c:\Temp>dcc32 /NSos /NSweb testns.dpr
> Embarcadero Delphi for Win32 compiler version 30.0
> Copyright (c) 1983,2015 Embarcadero Technologies, Inc.
> testns.dpr(6) Error: E2003 Undeclared identifier: 'webfunction'
> webfunction is in the web.utils.pas unit.
Did you add "uses utils"?
There is no switch to use "web.*" like in Java.
> So, to disambiguate, that forces me to write
> uses web.utils;
"uses utils" should be enough.
More information about the Lazarus