[fpc-devel]Some idea of joint units
Marco van de Voort
marcov at stack.nl
Thu Nov 13 13:13:43 CET 2003
>
> The same idea that I sent to borland bug/feature website years ago and want
> to share with greatly respected FPC community.
> Let's call it "reuse unit", wich can save a lot of time and space for
> developers and is really easy to understand. For instance you create a unit:
>
> - 8< - - - - - - - - - - begin unit - - - - - - -
> Unit VCL;
> Reuse Classes, Forms, Controls, Dialogs;
> - 8< - - - - - - - - - - end unit - - - - - - -
>
> Then in your app you only type
>
> use VCL;
>
> And that's it. This will be just the same as using all of the units, this is
> kinda cool, ain't it? Especially with the smartlinking. In C++ you can get
> the same results with the preprocessor, but preprocessors suck you know.
What would be the use ?
More information about the fpc-devel
mailing list