Marco van de Voort wrote:
Michael Fuchs wrote:
But how can fpc find the unit which contains this namespace? I think
better is: Namespace = unit name = file name
It is easier to allow a dot in the unit name than writing code, which
search all units for the right naemspace.
The filename would be "MyAPI.Blah.pas" as you indicate.
And if I import "blah" what would be imported? As far as I can see this is
no real advantage, except allowing dots in unitnames
No, you would import "MyAPI.Blah"...
I would say, remove "unit" replace with "Namespace" and all would be
fine. Thinking about it, the Chrome dialect is a better model.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal