[fpc-pascal] Feature announcement: default namespaces
Sven Barth
pascaldragon at googlemail.com
Sun May 6 02:42:41 CEST 2018
Michael Van Canneyt <michael at freepascal.org> schrieb am Sa., 5. Mai 2018,
21:24:
>
>
> On Sat, 5 May 2018, Sven Barth via fpc-pascal wrote:
>
> > Hello together!
> >
> > I'm pleased to announce the implementation of a new feature: default
> > namespaces.
>
> Great !! Nice job, Sven :)
>
> > Enter default namespaces.
> >
> > The compiler is told about a default namespace using the new -FN<x>
> > parameter, whereby <x> is a valid Pascal identifier for a namespace
> > (e.g. "MyUnits" or "FCL.XML" or "FCL.Web.Base"). Like with all similar
> > -F parameters -FN only takes a single value, but can be specified
> > multiple times.
>
> All looks logical to me. One question only:
>
> Is there a reason you didn't implement a global directive:
>
> {$NAMESPACE somens}
>
> or is this still planned ?
>
Does Delphi support this? If not, that is your answer: no real need for it
(fair remark: I'm currently freshly home from a club and thus quite a bit
drunk).
Regards,
Sven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180506/dda7262c/attachment.html>
More information about the fpc-pascal
mailing list