[fpc-devel] Re: [fpc-pascal] Re: Ideas for namespace implementation

Marcos Douglas md at delfire.net
Mon Jul 26 18:18:27 CEST 2010


On Mon, Jul 26, 2010 at 12:34 PM, Sven Barth
<pascaldragon at googlemail.com> wrote:
> [snip]
>> But that can be done for prefixes too:
>> fpc -unitprefix=My Utils.pas
>>
>
> In theory, yes, but Delphi allows more than one prefix for the unit name
> (see
> http://docwiki.embarcadero.com/RADStudio/en/Using_Namespaces_with_Delphi ).
> Except you regard the complete sequence up to the last point in the unit
> name as prefix... but it's still not exactly the same because of the reasons
> mentioned above.

IMHO, to work also in Delphi, just in 'delphi mode'...


MD.



More information about the fpc-devel mailing list