Michael Van Canneyt schrieb:

unit Blah;
Namespace MyAPI.Blah;

And how will you know which namespace is in what unit (or file) ?

You then need a second structure mapping namespaces on filenames, making it
slower, bulkier and error prone. The cure is worse than the disease, IMHO.

You are right. The better way is "unit MyAPI.Blah;". The Namespace is the unit name.

g
Micha
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to