[fpc-devel] Problems with namespaces and structs

Hans-Peter Diettrich DrDiettrich1 at aol.com
Fri Dec 16 01:13:45 CET 2011


Andrew Brunner schrieb:

> I got it to work by declaring the Callback Event Type in the
> Storage.Folders area and declared that type in the other unit which
> linked just fine.
> 
> It appears that the references cannot be located from outside that namespace.

That's why I wonder what namespaces are *good* for :-(

Disambiguation by unit.class.method/property works very well, so why add
more levels to that hierarchy?

I also wonder how such deep hierarchies should be documented, so that 
help can be shown when needed?

DoDi





More information about the fpc-devel mailing list