Am 26.12.2013 00:24 schrieb "Marcos Douglas" <[email protected]>: > > On Wed, Dec 25, 2013 at 7:41 PM, Sven Barth <[email protected]> wrote: > > Am 25.12.2013 19:19 schrieb "Marcos Douglas" <[email protected]>: > >> > Since that means typically two per target, it was suggested to combine > >> > this > >> > using dotted unit functionality. > >> > >> I did not understand this... dotted unit functionality? > > > > Delphi XE 2 with the introduction of FireMonkey switched from normal unit > > names for the RTL to dotted ones (aka unit namespaces). E.g. SysUtils and > > Classes became System.SysUtils and System.Classes respectively, the Windows > > units moved into a Windows "namespace" (AFAIK) and Forms became VCL.Forms. > > Now the XE2 IDE and command line compiler also provide the possibility to > > specify multiple default namespaces (e.g. a VCL application would have > > System and VCL) to ensure backwards compatibility. > > Simple explanation, I understood, thank you. > > So the new Delphi "namespace" is virtual (eg: there is no > VCL.Forms.pas file only a Forms.pas) or they have two options, two > files?
Neither. They only have e.g. VCL.Forms.pas and using the option I mentioned (e.g. set to "VCL,System") the compiler will look for VCL.Forms.pas, System.Forms.pas and Forms.pas (dont know the implemented order though) if the using of a unit Forms is encountered. Regards, Sven
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
