DelphiTools – DWScript now has a new “unit namespace” feature, which aims at killing several birds with one stone: supporting “classic” namespace as found in Java or .Net supporting aggregate namespaces and conditional units supporting unit deprecation and splitting with backward-compatibility The syntax is as follow: unit namespace Foo.Bar; [deprecated 'deprecation message';] uses Foo.Bar.One, Foo.Bar.Two, WhateverUnit; and that’s all for the Foo.Bar.pas file. Unit namespaces don’t expose or implement anything. With the above unit namespace, if in regular code you ...
Visits by Source
Users who voted for this posting
Jørn E. Angeltveit