[fpc-pascal] Re: Ideas for namespace implementation

Marcos Douglas md at delfire.net
Mon Jul 26 17:03:08 CEST 2010


On Mon, Jul 26, 2010 at 11:47 AM, Martin <fpc at mfriebe.de> wrote:
> On 26/07/2010 15:36, Marcos Douglas wrote:
>> [snip]
>>
>> {$NAMESPACE ON}
>> unit strutils namespace my;
>>
>> With {$NAMESPACE ON} all units will have namespaces, unless FPC's units.
>>
>
> Not sure why a directive?
>
> To allow none fully qualified names? Then we a back to square one.

To allow ONLY qualified names (using namespaces) not to have syntax
problems cited earlier (eg. foo.bar.a is using namespace or not?).
But was just one idea...


MD



More information about the fpc-pascal mailing list