[fpc-pascal] Namespaces Support
FabrÃcio Srdic
fabricio.srdic at gmail.com
Fri Oct 25 02:24:07 CEST 2013
With the new namespace support feature, will the fpc standard and base
units be structured into packages?
e.g types -> system.types; winsock -> windows.winsock; winmouse ->
windows.winmouse
2013/10/24 Michael Van Canneyt <michael at freepascal.org>
>
>
> 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 :)
>
> Michael.
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20131024/3ec63adb/attachment.html>
More information about the fpc-pascal
mailing list