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 ?

Regardless of the answer: Congratulations on a nice job :)

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to