[fpc-pascal] Re: Ideas for namespace implementation

Graeme Geldenhuys graemeg.lists at gmail.com
Sun Jul 25 23:53:58 CEST 2010


On 25 July 2010 23:30, Michael Van Canneyt wrote:
>
> The discussion is not about namespaces. Object Pascal HAS namespaces,
> namely units. The discussion is about 'enhancing' the namespace to allow one
> or more dots in the name.

With the importance that the '.' is only needed when resolving a
conflict - all other instances, you will just use the unit name as
normal. Also, the '.' usage is only limited to the uses clause. At
least we will be able to easily use more logical unit names without
the fear of getting unit name conflicts.


> Unicode strings is orders of magnitude more important.

I wasn't arguing what is/isn't more important that other tasks. I'm
gathering information and feedback on a feature request to enhance
namespace support to reduce unit name conflicts. Just because Unicode
strings haven't been implemented yet, doesn't mean we maybe implement
something else.

Regarding the cpstrnew branch:
I'll try and resolve my Unicode String branch (cpstrnew) compilation
issues this coming week (or at least report the issue with more
details). Since the resync with Trunc, I can't compile that branch,
and thus can't submit my local changes I have so far.


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-pascal mailing list