[fpc-pascal] Re: Ideas for namespace implementation

Graeme Geldenhuys graemeg.lists at gmail.com
Mon Jul 26 16:44:10 CEST 2010


Op 2010-07-26 16:10, Sven Barth het geskryf:
> 
> Are you sure that "_" is not allowed at the beginning of a unit name?
> Compiles without problems.

I wasn't. Thanks for confirming. So indeed the ugly _<namespace> syntax
can't be used.

I quite like Marcos Douglas's idea of using a colon between the namespace
and unit name. Similar syntax already exists in C++, so it's not 100% alien
to programmers. :-)


Regards,
  - Graeme -




More information about the fpc-pascal mailing list