[fpc-pascal] Namespaces Support

Michael Van Canneyt michael at freepascal.org
Thu Oct 24 10:14:49 CEST 2013

On Thu, 24 Oct 2013, Sven Barth wrote:

> Am 23.10.2013 16:34, schrieb Graeme Geldenhuys:
>       Michael, how Delphi-compatible is it?  In Delphi I can use (maybe not the best example) the reference
>       Forms.Application and in the project compiler settings I can say if it is the VCL or the FMX namespace, so it
>       knows at compile time which Application global variable to use.  I personally haven't used namespaces, but during
>       recent tiOPF discussions, such an example was presented to me - for use in a future tiOPF v4 branch (where
>       namespaces will be used to differentiate between FMX, VCL etc. LCL and fpGUI probably too).
> Specifying default namespaces (which was AFAIK introduced with XE2) is not yet supported in FPC though it's definitely planned
> to add support for this. Otherwise namespace support should be compatible to Delphi 2009.

Thanks for confirming my statements :)


More information about the fpc-pascal mailing list